> ## Documentation Index
> Fetch the complete documentation index at: https://docs.deeppcb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Getting Your API Key

> Retrieve and safely store the API key used by the KiCad plugin, the REST API, and the MCP server.

You need an API key to use the KiCad plugin, the DeepPCB REST API, or the MCP server. Your key authenticates all requests made on your behalf.

**1. Log in to the DeepPCB app**

Go to [app.deeppcb.com](https://app.deeppcb.com) and sign in with your credentials.

**2. Open the Integration / API Key page**

Navigate to [app.deeppcb.com/integration](https://app.deeppcb.com/integration). You'll find this page listed as **Integration** in the sidebar of your account settings.

**3. Generate and copy your API key**

Click **New Key**, then **Generate**. **Save your key** shows the new key — click **Copy Key**. The key is shown only once: once you have one, the button reads **Regenerate Key**, and regenerating replaces the old key.

<video autoPlay muted loop playsInline src="https://mintcdn.com/deeppcb/X7Hy0HgSSYrG7K_B/images/how-to/apikey-generate.mp4?fit=max&auto=format&n=X7Hy0HgSSYrG7K_B&q=85&s=4470b59bd6ea191829128603966658dd" />

Generating and copying an API key — the key itself is blurred here.

The key is a long alphanumeric string that uniquely identifies your account. Paste it wherever the integration requires it — for example, into the KiCad plugin settings dialog or into your shell environment.

**4. Keep your key secret**

Treat your API key like a password. Anyone who has it can submit jobs and spend the compute time on your account.

| Use your key with | Setup |
| - | - |
| KiCad plugin | [KiCad Plugin](https://docs.deeppcb.com/integrations/kicad-plugin.md#routing-a-board) |
| AI assistants (Claude, Cursor) | [MCP server](https://docs.deeppcb.com/integrations/mcp.md#connect) |
| Custom workflow / Scripts | [REST API](https://docs.deeppcb.com/api/overview.md) |

> [!WARNING]
>
> Never commit your API key to source control. Store it in an environment variable or a secrets manager instead. If your key is ever exposed, regenerate it immediately from the Integration page.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.