> For the complete documentation index, see [llms.txt](https://docs.dapta.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dapta.ai/dapta-mcp/setup/mint-your-api-key.md).

# Mint your API key

Your API key is what connects your AI client to your Dapta workspace. You create it once from the admin panel.

{% hint style="warning" %}
Only **workspace owners** can mint or revoke keys. If the **Create API key** button is missing, you are not an owner: ask your workspace owner to mint a key for you.
{% endhint %}

***

**Step 1:** From anywhere in Dapta, click your account email at the bottom of the left sidebar, then choose **MCP Access**.

<figure><img src="/files/c8CcYiPYxtN8FhccXRRy" alt="The Dapta account menu open, with MCP Access highlighted"><figcaption><p>Open the account menu and choose MCP Access.</p></figcaption></figure>

***

**Step 2:** On the **Connect Dapta to Claude** page, use the **Workspace** dropdown in the top right to pick the workspace you want the key for. Keys are scoped to a single workspace. Then, under **Your API key**, click **Create API key**.

<figure><img src="/files/ZHjzxrLknPiIrpXL8rYL" alt="The MCP Access page showing the workspace selector and the Create API key button"><figcaption><p>The MCP Access page. Select your workspace, then click Create API key.</p></figcaption></figure>

***

**Step 3:** **Save the key immediately.** Dapta opens a one-time dialog with everything you need to connect:

* Your **API key** (click **Copy** to save it).
* A **Download Claude Desktop plugin (.zip)** button, the recommended path for Claude Desktop and Cowork.
* The **Claude Code connect command**, with your key already inside.

Save whichever you need for your client, then tick **I've saved this key in a safe place** before you can close the dialog.

<figure><img src="/files/y83deVj6j7BY0dj7qlv4" alt="The Save your new MCP key dialog showing the API key, a Download Claude Desktop plugin button, the Claude Code connect command, an acknowledgment checkbox, and a Close button"><figcaption><p>The one-time key dialog. You will not see the key again after closing, and the plugin can only be downloaded from here.</p></figcaption></figure>

{% hint style="danger" %}
If you lose the key, you cannot view it again. You will have to revoke it and mint a new one. Remember: only one active key is allowed per workspace, so revoke the old key before creating a replacement.
{% endhint %}

***

## Troubleshooting

{% hint style="info" %}
If key creation fails with a **connection error**, the platform's identity service may be unreachable (for example, a VPN is not connected). Reconnect and try again.
{% endhint %}

***

## Next step

With your key in hand, connect your AI client.

{% content-ref url="/pages/uxhzDt61bupWigkPOgcr" %}
[Connect Claude Desktop & Cowork](/dapta-mcp/setup/connect-claude-desktop.md)
{% endcontent-ref %}

{% content-ref url="/pages/pmcoaynYJzpHBNoneJc1" %}
[Connect Claude Code](/dapta-mcp/setup/connect-claude-code.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dapta.ai/dapta-mcp/setup/mint-your-api-key.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
