---
title: "Add keys for the AI features"
url: "/docs/guides/ai-keys"
description: "Paste a DeepSeek, Deepgram or AssemblyAI key so smart edits, dictation and transcripts work"
---

# Add keys for the AI features

A few features call an AI service with your own API key: smart edits and completions, image captions, dictation, voice notes and transcripts of recordings. Claude Code and Codex don't need these keys; they use their own sign-in.

Use this guide when a feature says it needs a key, or before you try dictation or recordings for the first time.

## Before you start

Get a key from the service you need:

| Key | For | Get one at |
| --- | --- | --- |
| DeepSeek | Smart edits, completions in the code editor, voice-note formatting, pasted-image names and captions | [platform.deepseek.com](https://platform.deepseek.com) |
| Deepgram | Dictation and voice notes | [console.deepgram.com](https://console.deepgram.com) |
| AssemblyAI | Transcripts and summaries of recordings | [assemblyai.com](https://www.assemblyai.com) |

Each one charges you directly, by use. You only need the ones for features you use.

## Add a key

1. Open Settings (the gear in the status bar) and pick **AI keys**.
2. Paste the key into its field.
3. It's saved at once, where Settings › Passwords says: the macOS Keychain by default.

Keys never go into a settings file. A settings file that contains one is an error, so a key can't end up committed by mistake.

## Where keys are kept

Settings › **Passwords** › **Save passwords in** picks one place for every key:

| Choice | Where | When to pick it |
| --- | --- | --- |
| Keychain (the default) | The macOS Keychain, under "10nx" | Almost always |
| Encrypted file | `~/.10nx/secrets.cfg`, unlocked by `~/.10nx/secrets.key` | You'd rather not use the Keychain |
| Don't save | Memory only, forgotten when 10nx quits | A shared or borrowed Mac |

Switching moves the keys you've saved to the new place.

## Check it worked

Use the feature. With no key, it says **Add your DeepSeek key in Settings › AI keys** (or Deepgram, or AssemblyAI) and offers **Open AI keys**. With a key the service turns down, it says **DeepSeek didn't accept your key**, with the service's own reason, so you know to check the key rather than the feature.

The `/` menu marks **Dictation block** and **Voice note** with the key they need until it's there.

## Next steps

- [Dictation and recordings](dictation-and-recordings.md)
- [A key is rejected](../troubleshooting/common-problems.md#a-key-is-rejected)
- [Privacy](../reference/privacy.md): what these features send, and to whom
