Connect your agent/Grok

Docs

Grok connects to Clam as a custom connector. You add your Shell's link in Grok's Connectors tab and sign in to Clam once, with no key to paste. From then on, Grok's email requests follow your Shell's rules.

## [Before you start](/content/docs/agents/grok/index.html#before-you-start)

**You need a Clam account with a Shell.** Haven't made one yet? [The Quickstart](/content/docs/get-started/quickstart/index.html) takes about 10 minutes. Everything below starts on your Shell's **Install** tab in the [console](https://console.useclam.ai/), under Grok.

## [Connect Grok](/content/docs/agents/grok/index.html#connect-grok)

1. Open Connectors

Click **Plugins** at the bottom of the sidebar, then open the **Connectors** tab.
    [Open Grok](https://grok.com/)
2. Add a custom connector

Click **New Connector**, then choose **Custom**.

3. Paste the name and the link

Fill in both fields with the values on your Shell's **Install** tab, under Grok. Each Shell has its own name and link.

Name`Clam · <your Shell's name>`

Server URL`<your Shell's address>`

4. Click Add Connector, then sign in to Clam and Allow

Clam opens in a new window asking to connect your Shell to Grok. Click **Allow**.

Let Grok use a Shell

grok.com wants to connect to Clam.

When you allow it, you are sent back to grok.com.

Inbox helperyou@gmail.com

It connects through this Shell, never straight to your Gmail.

CancelAllow

Back on the Install tab, click **Check connection** after Grok's first request.

## [Try it](/content/docs/agents/grok/index.html#try-it)

With the starter policy from the Quickstart, ask Grok:

“Summarize the work email I got this week.”

AllowedGrok answers from your work email.

“Find my latest bank statement.”

BlockedGrok tells you Clam blocked it. That's the point.

## [Remove access](/content/docs/agents/grok/index.html#remove-access)

In Grok, open **Plugins** › **Connectors**, click the Clam connector, and click **Disconnect**.

In Clam, click **Remove access** next to Grok on the Shell's Install tab. Grok stops at its next request. Clam's removal is the one that counts: [Remove access](/content/docs/trust/remove-access/index.html).

## [If it doesn't work](/content/docs/agents/grok/index.html#if-it-doesnt-work)

Something else? See [Common issues & solutions](/content/docs/troubleshooting/index.html).

Grok says it can't add a server

Adding a server by asking in the chat doesn't work. Use **Plugins** › **Connectors** › **New Connector** › **Custom**, as above.

Clam's sign-in won't let me in

We're in early access, so only invited accounts can sign in. Use the Google account your invite went to, or [request an invite](https://console.useclam.ai/get-early-access?referrer_host=www.google.com&landing_path=%2Fdocs%2Fagents%2Fgrok).

Grok says the Shell is paused

A paused Shell blocks every request. Open it in the Clam console and click **Resume**.
