Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

fix(keys): send 'Get a key' for Composio to the project API Keys page (#4862)

B Rishabh Rao35b1a2b3e7b0
diff --git a/docs/composio.md b/docs/composio.md
index 88f644b961..4c0038c9d9 100644
--- a/docs/composio.md
+++ b/docs/composio.md
@@ -4,12 +4,11 @@ OpenMausBot uses one Composio project API key and one reusable Composio Session.
## Packaged desktop app
-1. Open the [Composio Dashboard](https://dashboard.composio.dev).
-2. Select **Platform**, select or create a project, then open **Settings → API Keys**.
-3. Copy a project key beginning with `ak_`.
-4. In OpenMausBot, open **App Settings → Connections** and save it under **Composio project key**.
-5. Open **Connected apps** and choose Gmail, GitHub, Slack, or another service. Enter a unique label such as `work` or `personal`, then finish the authorization in your normal browser.
-6. To connect another account for the same app, choose **Add account**, give it a unique label, and finish the second authorization in your browser.
+1. Open your project's [API Keys page](https://dashboard.composio.dev/~/project/settings/api-keys) in the Composio Dashboard (sign in or create a project first if asked).
+2. Copy a project key beginning with `ak_`. The `ck_` key on the personal **Sessions & API Key** page is a different key and won't work.
+3. In OpenMausBot, open **Settings → API keys** and save it under **Self-host connected apps → Composio project key**.
+4. Open **Connected apps** and choose Gmail, GitHub, Slack, or another service. Enter a unique label such as `work` or `personal`, then finish the authorization in your normal browser.
+5. To connect another account for the same app, choose **Add account**, give it a unique label, and finish the second authorization in your browser.
The Connected tab lists every account separately. **Disconnect** revokes only the account named on that row. OpenMausBot asks for a label for every new account and configures Composio to require explicit selection when more than one account could run a tool; a new OAuth flow never silently becomes the default for an existing connection.
diff --git a/shared/credential-request.ts b/shared/credential-request.ts
index edc27019fb..d1ad386da2 100644
--- a/shared/credential-request.ts
+++ b/shared/credential-request.ts
@@ -50,7 +50,7 @@ export const CREDENTIAL_TARGETS = {
label: "Composio API key",
description: "Connects apps such as Gmail, Slack and GitHub through your own Composio project.",
placeholder: "ak_…",
- helpUrl: "https://dashboard.composio.dev",
+ helpUrl: "https://dashboard.composio.dev/~/project/settings/api-keys",
},
openaiApiKey: {
label: "OpenAI API key",
diff --git a/src/components/keys/key-catalog.ts b/src/components/keys/key-catalog.ts
index f30d8ff150..91f13eb917 100644
--- a/src/components/keys/key-catalog.ts
+++ b/src/components/keys/key-catalog.ts
@@ -154,7 +154,7 @@ export const KEY_CATALOG: readonly KeyEntry[] = [
target: { patch: (value) => ({ composio: { apiKey: value } }), slot: "composioApiKey", verifiedOnSave: true,
saved: (config) => ({ ...flag((config.composio?.mode ?? "self-hosted") === "self-hosted" ? config.composio : undefined),
...(config.composio?.mode === "managed" ? { included: true } : {}) }),
- placeholder: "ak_…", href: "https://dashboard.composio.dev", analytics: "composio", shape: /^ak_/ } },
+ placeholder: "ak_…", href: "https://dashboard.composio.dev/~/project/settings/api-keys", analytics: "composio", shape: /^ak_/ } },
{ id: "treg", section: "apps", labelKey: "keys.treg.label", purposeKey: "keys.purpose.treg", name: "treg", env: ["OMB_TREG_KEY"],
words: ["treg", "research", "x", "twitter", "companies", "people", "funding", "news"], mark: { icon: Search }, kind: "key",
target: { ...providerKey("treg", { slot: "tregApiKey", placeholder: "…", placeholderKey: "keys.treg.placeholder", href: "https://treg.to", test: "treg", analytics: "treg" }),