User guide

Connections

Updated November 12, 2026 · 6 min read

The Connections page is where you give an AI assistant or one of your apps access to your brains, and where you take that access back. It has six tabs: AI assistants, Authorized apps, Link with a built-in key, Other apps, API keys and Webhooks.

There are two ways in. An AI assistant connects through MCP with a link, and you approve it by signing in. Your own apps and automation tools call the REST API with an API key.

AI assistants

This tab has one sub-tab per assistant: Claude, Gemini and ChatGPT. Each shows the same three steps.

  1. Copy the connection link. The link is the same for every workspace. It contains no key: the assistant asks you to sign in to CrystalBrain and approve it, and it can open your brains only after that.
  2. Add it in the assistant. In Claude: Settings, then Connectors, then Add custom connector. Paste the link. If Claude asks, pick Sign in now and Register automatically, and leave the client ID and secret empty. Save, click Connect, sign in to CrystalBrain and click Approve.
  3. Tell the assistant to use it. Copy the text in the Instruction box and paste it into the assistant’s own settings. In Claude, that is Settings, Profile, Preferences.

Step 3 is there because, on claude.ai, a connector does not make Claude call the memory by itself. The instruction tells it to search the memory at the start of every conversation, to save what is durable, and to correct a memory rather than save a second one.

The Gemini and ChatGPT sub-tabs give the equivalent menus. For Gemini, the link is added on gemini.google.com under Settings, Connected Apps, as a custom app, and the instruction goes into Instructions for Gemini. For ChatGPT, the link is added on chatgpt.com as a custom MCP server with OAuth, and the instruction goes into Settings, Personalization, Custom instructions. The tab lists the conditions each assistant sets, such as the type of Google account or the ChatGPT plan.

The Gemini and ChatGPT steps were checked on the web in November 2026 and have not been tested by us. Their menus change often. Connect Claude, ChatGPT or Gemini goes through each assistant in more detail.

Authorized apps

This tab lists the apps you approved with your CrystalBrain account, each with its name and the date of approval. Revoke removes an app’s access. To connect again, the app has to be approved again. Only the workspace owner can revoke an app: the button is not shown to editors and viewers.

Link with a built-in key

Some MCP apps cannot sign in with OAuth. For those, this tab creates a link that contains a key. The page marks it as advanced because anyone who has the link can open all your brains, so do not share it.

Click Create a link and copy the link at once, because it is shown only once. A workspace has one such link. Create a new link replaces it, and the old one stops working, which is also how you cut the access of an app that used it.

Other apps

This tab has copy-ready code for everything that is not one of the three assistants.

  • n8n, Make, Zapier. These tools use an API key and plain HTTP calls to search, save and list brains. The tab gives the settings of an n8n HTTP Request node. They are an ordinary HTTP request: in Make or Zapier, use the same method, URL, header and JSON body in their HTTP request step, with their own variables.
  • Your own app. The tab has four snippets: the TypeScript SDK (npm install crystalbrain), the Python SDK (pip install crystalbrain), curl and JavaScript. Pass your customer’s ID as user, and each customer gets its own isolated brains.
  • Other AI assistants. Any assistant that accepts an MCP connector can use the connection link or, without OAuth, a link with a built-in key.
  • Let your apps report their tool calls. Use POST /api/v1/tool-calls or the MCP tool tool_call_log. The calls appear on the Tool calls page.
  • Let your apps mention skills. Use POST /api/v1/skills or the MCP tool skill_mention. The answer contains the skill’s instructions when CrystalBrain has them. See Skills.

The snippets contain the address of your CrystalBrain and the placeholder YOUR_API_KEY, which you replace with a key from the API keys tab.

API keys

A key gives an app read and write access to the workspace through the REST API. Type a name, for example “production app”, and click Create key. The key appears once, under “New key created”. Copy it then: only a fingerprint is stored, and the key cannot be shown again.

Each key is listed with its name, its first characters, its creation date and the date it was last used. Revoke ends a key’s access. Create one key per app, so that you can revoke one without stopping the others.

Every call names a user, your customer’s ID or name. An unknown user is created the first time a call saves a memory or creates a brain for it, or when an imported CSV file names it, and a search reads only that user’s brains and the brains opened to its groups. Without user, the call is about your own account. Add brain to target one brain and app to name your app. A search that names no app is listed under api, and a save that names none stores no app name on the memory.

The number of requests per minute, per key, depends on the plan: 60 on Free, 300 on Starter and 600 on Pro. Beyond it, the API answers 429 with the code RATE_LIMITED and a Retry-After header. Error codes are stable and are listed in the API reference.

Webhooks

A webhook is a request that CrystalBrain sends to your app when something happens, so that your app does not have to ask. To add one, enter an Endpoint URL, tick the events it should receive (all are ticked by default) and click Add endpoint. The URL must start with https and cannot be a local or private address. The endpoint’s signing secret is shown once, right after you add it.

Events
EventSent when
memory.createdThe AI or the API saves or merges a memory, or one is added in the dashboard
memory.updatedIts text, type, tags, “Stop using after” date or brain changes
memory.archivedThe AI, the API, the dashboard or a resolved contradiction archives it
contradiction.detectedA memory check finds one
EventSent when
user.deletedA permanent deletion is carried out
quota.reachedThe first new user goes over the quota in a month
quota.blockedThe first new user gets no memory in a month (limit of tracked users reached)
credit.used_upThe monthly AI credit is used up
write.failedA save fails with a server error, or stores nothing because of the limit
The six events an endpoint can receive.

Memory events contain IDs and titles, not the content of memories. Your app reads the content with the API when it needs it. contradiction.detected also carries the reason of each contradiction, user.deleted the counts of what was deleted and quota.reached the plan, its quota and its ceiling. Imported memories do not send memory.created. A merge made by a memory check, with the memories it archives, sends neither memory.created nor memory.archived, and neither does a merge undone in the Review queue.

Each request has the header CrystalBrain-Signature: t=…,v1=…. The value after v1= is the HMAC SHA-256, computed with the endpoint’s secret, of the timestamp, a dot and the raw body. Compute the same value on your side and compare, to make sure the request comes from CrystalBrain.

POST to your endpoint
CrystalBrain-Event: memory.created
CrystalBrain-Delivery: <delivery ID>
CrystalBrain-Signature: t=1794480000,v1=5f2a9c…

signed text = "1794480000" + "." + raw body
The headers of a webhook request (example values).

An answer with a 2xx status within 5 seconds is a success. Otherwise CrystalBrain tries twice more, 3 seconds and 15 seconds later, then marks the delivery as failed.

Send test sends a test event to an endpoint at once, in a single attempt, which is the quickest way to check the URL and your signature code. The Latest deliveries table lists the last 50 deliveries with their status (Delivered, Failed or Pending), the number of attempts and the answer received, and a Resend button that makes one new attempt. Deliveries are kept for 30 days. An endpoint is archived, not deleted, and can be restored from the Archived endpoints list. If nothing arrives, see the help article on webhooks that do not arrive.

Free up to 25 tracked users, no card.

Start free