Provider apps
Register deployment-level GitHub, GitLab, Gitea, Linear, Slack, Google Chat, and Lark / Feishu apps in Setup Server.
Setup Server manages the apps that identify your deployment to code hosts and chat platforms. Each card shows the exact callback URLs to register and stores credentials write-only. Set your final public URLs before creating an app, since Setup derives callback URLs from those values.
GitHub App
Configure the deployment GitHub App when agents need access to private repositories, repository-scoped Git credentials, or GitHub issue and pull-request triggers.
- Set the final Web, Control Plane, and Relay public URLs.
- In Setup, open GitHub and choose Create GitHub App. The manifest flow fills in the current callbacks, events, and permissions automatically.
- If you're using an existing App, save its identity and secrets, then choose Check match.
- Restart Control Plane and Relay.
- In AgentConnect, open Integrations → Code hosts → GitHub, install the App, and select its repositories.
The generated App requests these permissions:
| Scope | Access |
|---|---|
| Organization members | Read |
| Metadata and email addresses | Read |
| Contents, issues, pull requests, Actions, Checks, and workflows | Read and write |
AgentConnect scopes each installation token down to one authorized repository and the agent's repository grant. Installation owners still decide which repositories are accessible.
GitHub webhooks require a reachable HTTPS Relay. On the default local HTTP stack, Setup can create the App for sign-in and repository installation, while leaving webhook delivery disabled until you configure HTTPS ingress.
See GitHub for triggers, reviews, and repository behavior.
Update an existing GitHub App
Organization discovery reuses the deployment's GitHub App, so you don't need a separate OAuth App. If Setup's Check match reports a missing Members permission:
- On GitHub, open the existing App's App settings → Permissions & events.
- Set Organization permissions → Members to Read-only and save.
- Ask each GitHub organization owner to approve the updated permissions on their existing App installation. Editing the App registration alone doesn't update existing installations.
- Run Check match again, then choose Refresh GitHub accounts in the custom-App creation dialog.
Only organizations accessible to this App appear in the list. Users can still enter an unlisted organization manually, and GitHub checks their permissions when they create the App. Installations that haven't approved the Members permission keep their previous permissions, so existing repository, PR/Issue, and webhook features continue working.
GitLab
Configure the deployment's GitLab OAuth application when agents need access to GitLab projects. A deployment targets either GitLab.com or one self-managed instance, not both. This application acts as AgentConnect's administration identity on the instance (for project discovery, agent service accounts, and webhook management), separate from the identity agents use when working in repositories.
- In Setup, open GitLab. For a self-managed instance, enter its address in Instance base URL (leave it empty for GitLab.com; path prefixes and non-default ports are both supported and preserved). Setup probes the URL you enter. Only an invalid URL blocks saving. An unreachable host, untrusted certificate, or non-GitLab API root is reported as a warning, since Setup and the Control Plane may be on different networks.
- Setup displays the exact Redirect URI and Scopes to register. GitLab has no API for creating OAuth applications, so create it on GitLab: open User settings → Applications, a group's Settings → Applications, or Admin → Applications (for an instance-wide app). Add an application with that exact redirect URI, keep Confidential selected, and grant the listed scopes. GitLab displays the secret only once.
- Paste the Application ID and Secret into Setup and choose Save GitLab application.
- Restart the Control Plane, then restart the console and Relay so they pick up the updated configuration.
- In the console, open Integrations → Code hosts → Connect GitLab and authorize an account with the permissions listed below.
Until GitLab state exists, you can change these settings freely or use Clear configuration. Once any projects, tokens, or connections exist, the instance URL is locked. Stored credentials and IDs don't record which instance they came from, so changing the URL would send one instance's credentials to another.
Self-managed instance requirements
| Requirement | Why |
|---|---|
| GitLab 18.11 or later | Group service accounts became available across all tiers, including Community Edition, in 18.11. AgentConnect refuses to provision on earlier versions. |
| HTTPS, one address | Clone URLs, OAuth redirects, and GitLab's web_url values match only when there is a single address. Handle split internal and external addressing in DNS. |
| A trusted certificate | There's no option to skip TLS verification at any layer. For a private CA, install its bundle where every process and sandbox can read it. |
| Reachable ingress | GitLab blocks webhook delivery to local networks by default. If your AgentConnect ingress resolves to a private address, the integration will appear installed but won't receive events. |
No GitLab API reports whether an account can create agent service accounts, so AgentConnect checks this the first time you set up a project instead of in advance. On GitLab.com, the account must be a top-level group Owner. On a self-managed instance, either option works:
- Any tier, including Community Edition: Connect an instance administrator. If Admin Mode is enabled on the instance, administrator API calls require a token scope AgentConnect doesn't request, so you must use the delegation setting below instead.
- Premium or Ultimate: Turn on Allow top-level group Owners to create service accounts under Admin → Settings → General, then connect a top-level group Owner.
You don't need to configure the GitLab instance on your daemons. Each daemon gets the instance details from the agent it serves and clones from it automatically.
Gitea
Point your deployment at a Gitea instance when agents need access to Gitea repositories. A deployment targets either gitea.com or one self-hosted Gitea or Forgejo instance, not both. There's no OAuth application to register. Because Gitea's OAuth provider attributes actions to the authorizing user just like a manual token, the integration uses a bot user's personal access token directly.
That leaves one deployment setting to configure:
- In Setup, open Gitea and enter the instance address in Instance base URL. Leave it empty for gitea.com. Path prefixes (such as
https://gitea.example.test/gitea) and non-default ports are supported and preserved everywhere. - Setup probes the URL and checks the minimum version. Only an invalid URL or an instance older than Gitea 1.23 or Forgejo 15 blocks saving. An unreachable host, untrusted certificate chain, or non-Gitea API root is reported as a warning, since Setup and the Control Plane may be on different networks.
- Restart the Control Plane.
The bot user and its token aren't deployment state. Each organization creates its own bot user, grants it Admin access on the repositories its agents will use, and pastes that token in the console under Integrations → Code hosts → Gitea (see Gitea). Operators never handle the token.
Until Gitea state exists, you can change the instance URL freely. Once repositories, tokens, or connections exist, the URL is locked because stored tokens, numeric repository IDs, and webhook IDs don't record which instance they came from. Remove every Gitea repository and disconnect the bot before changing it.
Self-hosted instance requirements
| Requirement | Why |
|---|---|
| Gitea 1.23 or later, or Forgejo 15 or later | Gitea 1.23 is the first release whose pull-request comment webhooks include the pull request itself, which mentioning an agent on a pull request and comment-requested reviews depend on. Forgejo 15 is Forgejo's oldest maintained release line. Forgejo reports its own version first (15.0.9+gitea-1.22.0), which is the version checked. GET /api/v1/version responds without a token, so the version floor is checked when saving the URL and again on every connection. |
| HTTPS, one address | Clone URLs, the repository addresses given to agents, and Gitea's html_url values match only when there is a single address. Handle split internal and external addressing in DNS. |
| A trusted certificate | There's no option to skip TLS verification at any layer. For a private CA, install its bundle. |
| HTTP Git enabled | Clone, fetch, and push all run over HTTPS using the bot's token. SSH remotes and plain HTTP aren't supported. |
| Reachable Relay address | Gitea blocks webhook deliveries to private addresses by default, and the refusal happens at delivery time rather than creation time (see below). |
Forgejo (including Codeberg) works with the same setup and needs no extra configuration. It uses the same API, token scopes, and webhooks as Gitea, including the ALLOWED_HOST_LIST setting below.
If an instance is downgraded below the minimum version after repositories are already set up, existing sessions and credentials keep working, and only new setups and token replacements are blocked.
Let Gitea reach the webhook endpoint
Gitea blocks webhook deliveries to loopback and private addresses by default via ALLOWED_HOST_LIST under [webhook] in app.ini (inherited from [security]). This check happens at delivery time, not at creation time, so the webhook installs without error and then receives no events.
Make sure the Relay address Gitea posts to is reachable from the instance, or add it to the allowlist:
[webhook]
ALLOWED_HOST_LIST = relay.example.testThe setting accepts hostnames, CIDR ranges, and built-in groups (private, loopback, external, *). Prefer naming the specific host instead of opening an entire group. Restart Gitea after editing app.ini.
When you add a repository, AgentConnect sends a test webhook delivery and waits for it to arrive. If it doesn't arrive, the repository is marked ready with a warning pointing to this setting, so you see the blocked address during setup instead of after the first missed pull request. Update the allowlist and press Repair on the repository row, or wait for the first real delivery, which also clears the warning.
Linear
Configure the deployment's Linear OAuth application when agents need to work on issues delegated to them in Linear. One application serves all organizations and connected workspaces; individual organizations and agents don't store Linear credentials.
Both halves of the flow are public: the Control Plane handles the OAuth callback and the Relay handles Linear's webhooks. Both public URLs must use HTTPS before Setup will save the application.
- In Setup, open Linear. It shows the exact Callback URL and Webhook URL to register.
- Linear has no API for creating OAuth applications, so create it manually. In Linear, open Settings → API → OAuth applications and create an application with your product name, icon, and that callback URL. Enable webhooks, check Agent session events, and point them at the webhook URL Setup displays.
- Make the application public if workspaces other than the one that created it need to connect. Linear doesn't review it, and listing it in Linear's integration directory is optional.
- Paste the Client ID, Client secret, and Webhook signing secret into Setup and choose Save Linear application.
- Restart the Control Plane and Relay.
The console shows Linear as unconfigured until these credentials are saved. Once configured, connect a workspace from an agent's Integrations → Add integration → Linear. See Linear.
Rotating the signing secret is a deployment-level change: save the new value in Setup, and AgentConnect updates every connected workspace with it. Webhook deliveries may fail for a few seconds during the update, and Linear retries them automatically.
Slack deployment App
Setup can create one deployment Slack App for the built-in agentconnect agent and optional Slack sign-in. This doesn't replace the recommended per-agent bot integrations described in Slack.
- Configure reachable HTTPS origins for Logto, Web, Control Plane, and Relay.
- Create a temporary Slack App configuration token when Setup prompts for one.
- Open Slack in Setup and choose Create Slack App.
- Restart Control Plane and Relay.
Setup builds and checks the current Slack manifest, including OAuth, Events API, and interactivity callbacks. Slack sign-in isn't available on the default HTTP localhost topology; use Google for the local bootstrap.
Google Chat deployment app
The Google Chat card, below the Google card, configures one Chat app for the entire deployment. It serves each connected Google Workspace through that organization's built-in AgentConnect agent, while individual agents can still connect their own Chat apps.
- Configure the deployment's public callback endpoint and serve the console over HTTPS. Google delivers Chat events only over HTTPS callbacks, and the organization connection page requires an HTTPS console.
- Turn on Google sign-in. People connect their Workspace by signing in with the Google account they use in Google Chat.
- Create the Chat app as described in Create the app, using the HTTP endpoint URL shown on the card. Add the
/helpcommand if you plan to publish the app on the Marketplace, since Marketplace review expects the app to offer help. - In Setup, open Google Chat, enter the Project ID, the optional Project number, and the Service-account key JSON, then choose Save Google Chat app.
- Restart AgentConnect.
Setup validates the project and key with Google the same way the agent wizard does, and stores the key write-only. To rotate it, save a new key here and restart, then revoke the old key after the restart completes.
A Workspace connects itself from Google Chat. Before it's connected, the app replies to messages with a private Configure prompt and posts a Connect card when added to a space. Both open the console, where an Owner or Collaborator signs in with the Google account they use in Google Chat, picks the organization, and clicks Connect. A Workspace can connect to only one organization at a time. To disconnect it, remove the Google Chat integration from the AgentConnect agent.
To enable administrator recovery of a conflicting Workspace binding:
- Enable Admin SDK API in the project that owns your Google sign-in OAuth client.
- Add the console's
/googlechat/recoverURL to that client's authorized redirect URIs. Setup lists the full URL under Google. - Configure
openidandhttps://www.googleapis.com/auth/admin.directory.user.readonlyin Google Auth Platform, and complete any Google OAuth verification or Workspace app approval required for that scope.
AgentConnect requests these permissions only when a current Workspace super administrator initiates recovery. It reads that administrator's Directory entry and customer ID, then asks them to confirm the target organization. It doesn't request offline access or domain-wide delegation. See Recover a Workspace connection for the user flow and manual fallback.
Until the app is published publicly on the Google Workspace Marketplace, only your own Workspace can use it.
Microsoft Teams deployment app
The Microsoft card configures the deployment's Microsoft sign-in application. Entering the application's home tenant there also makes it the deployment's Teams app, which each Microsoft 365 organization connects to one of its agents using an administrator sign-in. Individual agents can still register their own bot.
- Configure the deployment's public callback endpoint and serve the console over HTTPS.
- In Microsoft Entra, register a multi-tenant application (accounts in any organizational directory). Add the card's Redirect URIs and its Connect page as Web redirect URIs, and create a client secret.
- Register a bot for that application in the Teams Developer Portal or as an Azure Bot, using the Messaging endpoint shown on the card.
- In Setup, open Microsoft, enter the Client ID, the Client secret, and the application's Directory (tenant) ID for Teams, then save. Setup validates the secret against that tenant before saving.
- Restart AgentConnect.
One application and one secret serve both Microsoft sign-in and Teams, so rotating the secret updates both. Clearing the tenant ID disables Teams while keeping Microsoft sign-in active.
An organization connects from an agent's Add integration → Microsoft Teams → Connect with Microsoft: a Teams or Global administrator signs in, and the app is published directly to that Microsoft 365 organization's app catalog without a Store listing. Microsoft Entra marks the application as unverified until you complete publisher verification, which is required by organizations that allow only verified publishers.
Agent bots
The Teams app's bot serves one agent per Microsoft 365 organization. With agent bots enabled, each additional agent gets its own bot: a Microsoft Entra agent identity created in the customer's tenant from a blueprint in your home tenant, paired with an Azure Bot registration in your subscription. The Agent bots section appears under Microsoft once the Teams app is configured. Complete these steps once:
- To create the blueprint from Setup, grant the application three Microsoft Graph application permissions in its home tenant with administrator consent:
AgentIdentityBlueprint.Create,AgentIdentityBlueprint.AddRemoveCreds.All, andAgentIdentityBlueprintPrincipal.Create. Only Create blueprint uses them, so you can remove them afterward. - Assign the application's service principal the Contributor role on the Azure resource group used for bot registrations.
- Register the
Microsoft.BotServiceresource provider on the subscription.
Enter the Azure subscription ID, the Resource group, and your Microsoft Entra user as the blueprint's owner and sponsor, then click Create blueprint. Its secret goes straight into the deployment secret store and is never displayed. You can also use a blueprint created manually in the Microsoft Entra admin center: allow accounts in any organizational directory, add a client secret, and enter both with Save blueprint. Restart AgentConnect to apply the settings.
Administrators in each customer tenant can view these agents under your blueprint in the Microsoft Entra admin center (showing the person who connected each one as its sponsor) and disable them there.
The same application also connects Azure DevOps organizations. Add the Azure DevOps connect page shown on the card as an additional Web redirect URI, and administrators can then connect from the console's Azure DevOps card. Microsoft's consent screen displays the application's Entra display name, so choose a name that doesn't refer to just one Microsoft product.
Lark and Feishu tenant Apps
The Lark and Feishu cards configure one regional Login App as the deployment's tenant anchor. AgentConnect uses it to verify that multiple bot Apps belong to the same trusted workspace; the Login App itself isn't an AgentConnect chat bot.
Choose Create Lark App / Create Feishu App, or save existing credentials. For an existing App, enable and publish the Obtain tenant information (tenant:tenant:readonly) permission. Restart Control Plane after saving.
Bot setup and delivery modes are documented in Lark / Feishu.
How is this guide?