İçeriğe geç
ajan.io

Belgeler menüsü

Bu sayfada

UiPath

ajan'da UiPath Orchestrator OAuth istemcisini ve Automation Hub Open API bağlantısını kurun

Genel Bakış

ajan, farklı API'ler ve kimlik doğrulama kullandıkları için iki ayrı UiPath entegrasyonu sunar:

EntegrasyonÜrün yüzeyiKimlik doğrulamaNeler yapabilirsiniz
UiPathOrchestratorOAuth (UiPath kuruluşunuzdaki confidential uygulama)İş tetikleme, kuyruk öğeleri ekleme, klasör ve süreç listeleme, işleri ve denetim günlüklerini inceleme
UiPath Automation HubAutomation HubAPI key (kişisel veya kullanıcıya atanmış Open API token)Fikir arama, kategori ve uygulama gezinme, pipeline bağlamı ve isteğe bağlı CBA verisi inceleme

Bir çalışma alanı yöneticisi UiPath için bir OAuth istemcisi ve Automation Hub için bir Open API token yapılandırır. Ardından her entegrasyonu bağımsız bağlarsınız.

Desteklenen dağıtım: Yalnızca UiPath Automation Cloud. Automation Suite ve diğer self-hosted host'lar desteklenmez.

ajan neden paylaşılan bir UiPath OAuth istemcisi sunmaz

UiPath harici OAuth uygulamalarını her organization içinde kaydeder (Admin → External applications → OAuth apps). Bir kuruluşta oluşturulan istemci tüm ajan müşteri kuruluşlarına hizmet edemez.

Bu yüzden ajan, Microsoft veya Google'da olduğu gibi merkezi bir UiPath istemcisi sağlayamaz. Kuruluşunuzdaki bir UiPath yöneticisinin confidential uygulamayı oluşturması, ardından bir ajan çalışma alanı yöneticisinin Application ID ve app secret'ı Kendi OAuth İstemcinizi Getirin sayfasına yapıştırması gerekir.


UiPath (Orchestrator)

Temsilcilerin her oturum açmış kullanıcı adına otomasyonları çalıştırıp izleyebilmesi için Orchestrator'ı bağlayın.

Kimlik Doğrulama: OAuth (kuruluşunuzun confidential uygulaması) Kullanılabilirlik: Tüm çalışma alanı planları

Önkoşullar

  • Orchestrator içeren bir UiPath Automation Cloud kuruluşu
  • Harici OAuth uygulaması oluşturmak için UiPath yönetici erişimi
  • OAuth istemcisini yapılandırmak için ajan çalışma alanı yönetici erişimi
  • ajan'ın UiPath entegrasyon ayarlarından Redirect URL ve kapsam listesi

OAuth istemcisini kurma

Bu adımları ajan çalışma alanı başına bir kez tamamlayın (grup kapsamlı istemciler kullanıyorsanız grup istemcisi başına bir kez).

ajan'dan Redirect URL ve kapsamları kopyalayın

[Workspace settings → Integrations] sayfasına gidin(https://app.ajan.com/settings/workspace/products/integrations), UiPath seçin, ardından Configure your OAuth client to use this integration. düğmesine tıklayın.

Redirect URL değerini kopyalayın. Sync scopes with enabled actions açık bırakın, ardından Scopes listesini kopyalayın. UiPath'e geçmeden önce bu iletişim kutusunu açık tutun veya değerleri güvenli bir yere yapıştırın.

Redirect URL'yi ajan'dan tam olarak kopyalayın. Sondaki eğik çizgi, yanlış host veya yazım hatası bağlantı sırasında redirect_uri_mismatch hatasına yol açar.

UiPath'te confidential OAuth uygulaması oluşturun

UiPath Automation Cloud'ta kuruluş Admin → External applications → OAuth apps yolunu açın, ardından Add application düğmesine tıklayın.

Open this from organization Admin → External applications → OAuth apps. Some UiPath pages also describe an Orchestrator Manage Access route, which may not appear in every tenant.

Configure the app as follows:

  1. Enter an application name (for example, ajan).
  2. Select Confidential application.
  3. Click Add scopes, choose the Orchestrator resource, and grant the scopes from ajan under User Scope(s). Leave Application Scope(s) empty for this connection flow.
  4. Paste the ajan Redirect URL into the redirect URL field.
  5. Save the application.

Store the Application ID (Client ID) and the generated app secret (Client secret). UiPath shows the secret once.

For background on confidential apps and user scopes, see UiPath's OAuth apps overview.

Put Orchestrator scopes under User Scope(s) only. Application scopes are for app-only access and do not match ajan's user-delegated OAuth flow.

İstemciyi ajan'a kaydedin

Back in the ajan OAuth client dialog:

  1. Optionally set a Client name and choose Entire workspace or Groups.
  2. Paste the UiPath Application ID into Client ID.
  3. Paste the UiPath app secret into Client secret with no extra spaces or line breaks.
  4. If the dialog shows OAuth connection details, you can save a UiPath Cloud URL as the default for that client, for example https://cloud.uipath.com/acme/DefaultTenant/orchestrator_/.
  5. Click Save, confirm, then activate the client from the client list.

For group clients and scope sync behavior, see Bring Your Own OAuth Client and Manage Action-Level Scopes.

Bir UiPath hesabı bağlayın

Open Integrations, select UiPath, and add a connection.

Members paste a UiPath Cloud URL that includes your organization and tenant, for example https://cloud.uipath.com/acme/DefaultTenant/orchestrator_/, unless you already set a default under OAuth connection details. You can also enter just the org name (tenant defaults to DefaultTenant) or org/tenant.

Complete the OAuth consent screen. ajan acts with that user's Orchestrator permissions.

ajan'da UiPath kullanmaya başlayın

Klasör ve süreç listelemek, iş tetiklemek, kuyruk öğesi eklemek veya iş geçmişi ve denetim günlüklerini incelemek için herhangi bir temsilcide entegrasyonu @ ile etiketleyin.

Yaygın kullanım durumları

  • Otomasyon çalıştırma — Sohbet veya iş akışlarından Orchestrator işlerini tetikleyin ve kuyruk öğeleri ekleyin
  • Süreç keşfi — Kişisel çalışma alanları ve Solution klasörleri dahil klasör ve süreçleri listeleyin
  • Çalıştırmaları sorun giderme — İş durumunu kontrol edin, iş ayrıntıları ve yürütme günlüklerini alın, hatalı işleri inceleyin
  • Denetim etkinliği — İşleri, kuyrukları veya diğer bileşenleri kimin değiştirdiğini görmek için Orchestrator denetim günlüklerini okuyun

Sorun giderme

SorunÇözüm
invalid_client veya secret hatalarıUiPath'ten app secret'ı yeniden kopyalayın. Secret'ı yeniden oluşturduysanız ajan'da Client secret güncelleyin. Yapıştırırken sondaki boşluklardan kaçının
redirect_uri_mismatchajan iletişim kutusundaki Redirect URL'yi UiPath uygulamasına değişiklik yapmadan yapıştırın
Authorization or scope errorsConfirm every scope shown in ajan is granted under User Scope(s) for Orchestrator, not Application Scope(s). Reconnect after changing scopes
Cloud URL / org tenant errorsUse a full Automation Cloud URL with organization and tenant, or org/tenant. Product path segments such as orchestrator_ are not tenants
Folders or processes missingThe signed-in user needs Orchestrator access to those folders. Use Get folders to discover folder IDs, including personal workspaces
Audit or execution logs unavailableEnable the matching actions so ajan requests OR.Audit.Read or OR.Monitoring.Read, then reconnect

UiPath Automation Hub

Temsilcilerin otomasyon fikirlerini ve pipeline bağlamını keşfedebilmesi için Automation Hub'ı bağlayın. Görünürlük, Open API token kullanıcısının Automation Hub rolleri ve kategori erişimini izler.

Kimlik Doğrulama: API Key (kişisel veya kullanıcıya atanmış Open API token) Kategori: Knowledge Base Kullanılabilirlik: Tüm çalışma alanı planları

Önkoşullar

  • A UiPath Automation Cloud organization with Automation Hub enabled
  • Access to Admin Console → Platform Setup → Open API to create or copy a token
  • A personal or user-assigned Open API token (tenant-level tokens cannot search automations)

Kurulum

Automation Hub Cloud URL'nizi kopyalayın

Open Automation Hub in the browser and copy the URL. A typical shape is https://cloud.uipath.com/mycompany/DefaultTenant/automationhub_/.... ajan extracts the organization and tenant from this URL. You can also enter just the org name (tenant defaults to DefaultTenant) or org/tenant.

Only UiPath Automation Cloud URLs are accepted. Automation Suite and other self-hosted hosts are rejected.

Kişisel bir Open API token oluşturun

In Automation Hub go to Admin Console → Platform Setup → Open API, then create or select a personal or user-assigned token. Use Copy to Clipboard next to the token so you get the combined Tenant ID/Token value.

Follow UiPath's token guide for the exact UI steps. If you set an App key when creating the token, copy that as well.

ajan'da Entegrasyonlara gidin

Go to Integrations and find UiPath Automation Hub.

Kimlik bilgilerinizi girin

Paste the UiPath Cloud URL, the Open API credential (Tenant ID/Token), and the App key if you created one. Leave App key empty otherwise.

ajan'da Automation Hub kullanmaya başlayın

Tag the integration with @ in any agent to search ideas, look up pipeline context, or browse categories and applications.

İzinler ve token yönetimi

Microsoft veya Google entegrasyonlarının aksine Automation Hub, kullanıcı başına temsil edilen OAuth desteklemez. Bunun ne anlama geldiğini ve token'ları güvenli yönetmeyi anlamak için bu bölümü kullanın.

İzin türlerini anlama

ModelWho actsTypical ajan integrationsAutomation Hub
Delegated (OAuth)Signed-in end userMicrosoft, Google, and similarNot available
Open API tokenThe Automation Hub user bound to the token(this integration)Required

ajan uses the token user's Automation Hub rights. Every request runs as the user assigned to the Open API token (category access plus role permissions). ajan does not add its own privacy layer, and it does not strip privileged fields.

Automation Hub's Open API authenticates with a static token that an Automation Hub admin creates in Admin Console → Platform Setup → Open API. There is no per-user consent flow in ajan. Whoever uses the connected token sees what that Automation Hub user can already see in the UI.

If the token user can view cost-benefit analysis, collaborators, or detailed assessment data in Automation Hub, those ajan actions can return it whenever they are enabled.

Önerilen kurulum

Create separate connections for regular catalog access and for privileged CoE work. Do not reuse a high-privilege CoE token as the default connection for everyone.

mermaid
flowchart LR
  subgraph AH["Automation Hub"]
    RU["Dedicated regular userlimited roles + categories"]
    COE["CoE / privileged userbroader AH rights"]
  end
  subgraph LD["ajan"]
    C1["Catalog connection"]
    C2["CoE connection"]
    A1["Shared or agent-fixedfor regular users"]
    A2["CoE-only agentsor workflows"]
  end
  RU -->|personal / user-assigned token| C1 --> A1
  COE -->|separate token| C2 --> A2

Düzenli kullanıcı katalog bağlantısı

  1. Create an Automation Hub user whose roles and category access match what regular ajan users should be allowed to see.
  2. Grant only the permissions needed for search and basic idea detail. Skip CBA, collaborator, and detailed assessment permissions unless they are deliberately in scope.
  3. Generate a personal or user-assigned Open API token for that user (not a tenant-level token).
  4. Connect it in ajan, then either:

Either option keeps visibility bounded to the dedicated user's Automation Hub rights. That is the strongest limited-view pattern the API allows.

CoE bağlantısı

Separately, the Center of Excellence (or another privileged team) can create their own Open API token for a user with broader Automation Hub permissions. Keep that connection on CoE-only agents or workflows.

Sınırlı bir token'ın görebilecekleri

ExpectationWhat happens
Category-scoped ideasA typical Standard User (non-CoE) token only returns ideas in categories that user can view
Full Live / deployed catalogUsually incomplete unless Explore or category visibility already surfaces those ideas to that user
Pipeline tablesNon-CoE users usually do not get the full All / Review / Decision / Implementation / Live views
Privileged fieldsCBA, collaborators, and detailed assessment stay gated by Automation Hub permissions

Her eylemin döndürebilecekleri

ActionTypical dataPrivilege note
Search automation ideasName, description, phase/status, categories, apps, scores, estimated benefit hours, submitter/ownerOptional Include advanced assessment returns detailed assessment Q\&A when AH allows it
Get automation ideaSame core fields for one ideaOptional documents, components, and collaborators; collaborators need View Idea Collaborators in AH
List categories / List applicationsTaxonomy for filters and discoveryFollows what the token user can access
List idea flowsTenant phases and statuses (names/keys)Use with Search results for numeric phase/status IDs
Get cost-benefit analysisCBA summary for an ideaRequires View Cost Benefit Analysis in AH

Polling triggers (New automation idea, Updated automation idea) inherit the same visibility: they only see ideas the token user can already access.

For a regular-user catalog connection, enable the catalog actions you need and leave privileged options off unless required: Get cost-benefit analysis, Include collaborators, and Include advanced assessment.

Yaygın kullanım durumları

  • Fikir keşfi — Otomasyon fikirlerini metin, aşama, durum, kategori veya uygulamaya göre arayın
  • Pipeline bağlamı — Bir fikrin geçerli aşamasını ve durumunu, dokunduğu kategori ve uygulamaları bulun
  • Taksonomi gezinme — Fikirlerin nasıl düzenlendiğini anlamak için kategori ve uygulamaları listeleyin
  • Değişiklik sinyalleri — Token kullanıcısının görünürlüğünde fikirler oluşturulduğunda veya güncellendiğinde iş akışlarını tetikleyin

Sorun giderme

IssueSolution
Kimlik doğrulama başarısızOpen API kimlik bilgisinin Copy to Clipboard'dan gelen tam Tenant ID/Token değeri olduğunu ve token'ın hâlâ aktif ve süresi dolmamış olduğunu onaylayın
Search returns fewer ideas than expectedThe token user may lack category or Explore/pipeline visibility for those ideas. Check what that user sees in the Automation Hub UI
Tenant-level token errors on searchUse a personal or user-assigned token instead. Tenant-level tokens cannot search automations
Cost-benefit or collaborators failGrant the matching Automation Hub permission to the token user, or leave those actions disabled for a least-privilege catalog
Cloud URL rejectedUse an Automation Cloud URL (cloud.uipath.com/...). Automation Suite and other hosts are not supported
App key requiredIf the token was created with an App key, paste it into the App key field in ajan