These docs are for MetaTana 2.0, coming soon
API Keys
MetaTana can use local provider keys for direct metadata, artwork, subtitle, AI, and sync workflows. Pro hosted features can also use MetaTana-managed hosted provider access where enabled.
Provider keys are in Settings › Providers › Your keys, with a provider account link, a health check, and Save for each one. The local MetaTana API key is API key under Settings › Maintenance › Advanced.
Guided TMDb Key Setup
MetaTana walks you through getting a free personal TMDb key and checks it with TMDb before saving it. No MetaTana Pro plan is needed for this.
You can open the guided steps from:
- First-run setup, before the first scan: Add a TMDb key now so posters appear right away → Add TMDb key. Later skips it. Pro accounts don't see this step.
- Library, when titles have no provider metadata yet: the N titles need posters and details card → Add a free TMDb key (2 minutes). The card can be collapsed but stays until a key or Pro is ready. Its other button, Sign in for Pro, is for hosted metadata.
- Home: the Improve matches line, with the unscraped count, Add TMDb key, See Pro plans, and Not now.
- Settings › Providers: More → Key setup → Add TMDb key step by step.
The Add a free TMDb key dialog has four steps:
- Create a free TMDb accountOpen TMDb sign-up opens TMDb in your browser (the system browser on desktop). Confirm the email TMDb sends, then sign in. Skip this if you already have an account.
- Request an API keyOpen TMDb API settings opens TMDb's API page. Choose to request a key, pick Developer, accept the terms, and fill in the short form about your personal use.
- Copy one valueCopy the API Key or the API Read Access Token. Either one works.
- Paste it herePaste into the field. MetaTana checks the value with TMDb as soon as you paste it. You can also type it and select Check and save. When TMDb accepts it, the dialog shows TMDb accepted the key. Saved. and closes.
A value TMDb rejects is never saved, so a wrong paste can't replace a key that already works. The key is stored in MetaTana's local app data and is only sent to TMDb.
After a key is saved from Library, MetaTana starts Scrape all unscraped on its own. After a key is saved from Settings › Providers, that scrape starts the next time you open Library. After a key is saved in first-run setup, the first scan uses it for posters and details.
If the check fails, the dialog says why:
| Message | What to do |
|---|---|
TMDb did not accept that value. Copy the API Key or the API Read Access Token from your TMDb API page and paste it again. |
Copy the value again. Make sure no spaces or line breaks came along, and that you copied the key and not your TMDb password or account ID. |
TMDb is busy right now. Wait a minute and try again. |
TMDb is rate limiting. Wait, then paste again. |
TMDb is having trouble right now. Try again in a few minutes. |
TMDb returned a server error. Try again later. |
MetaTana could not reach TMDb. Check your internet connection and try again. |
Check firewall, VPN, or proxy rules for api.themoviedb.org. |
Paste your TMDb API Key or API Read Access Token first. |
The field was empty. |
MetaTana could not save the key. Try again. |
The app could not save it. Try again. |
Missing Or Rejected Keys During A Scrape
A scrape that fails because of a key says so instead of "No match found":
| Message | What to do |
|---|---|
TMDb isn't set up. Add its API key in Settings, then Rescrape. |
Add the key in Settings › Providers › Your keys, then Rescrape the item. |
TMDb rejected the API key. Check it in Settings, then Rescrape. |
Check or replace the key in Settings › Providers › Your keys, then Rescrape. |
Couldn't reach TMDb. MetaTana will try again. |
Nothing. The provider was down or busy, and Autopilot retries up to 3 times. |
Other providers use their own name in the same messages.
Metadata Keys
Common local metadata keys:
| Provider | Use |
|---|---|
| TMDB | Movie, TV, people, collection, and artwork metadata |
| TheTVDB | TV and episode metadata |
| OMDb | IMDb-linked metadata and ratings |
| Fanart.tv | Extended artwork |
| MDBList | Aggregate ratings |
| AniList | Anime metadata (works without a key) |
| MyAnimeList | Anime identity where configured |
AI Keys
AI features need an active Pro plan, whether they use your own AI provider key or hosted AI Vision. A saved Anthropic or OpenRouter key does not unlock AI on Free, and the key test is Pro-only too. With Pro, AI Insights uses your own key; hosted AI Vision uses the MetaTana account and credit system instead of exposing hosted provider keys to the local client.
Sync Keys
Trakt credentials are used for app-side watched-state sync (history, both ways). Ratings are not synced. Trakt is not routed through hosted Skyhook metadata.
Subtitle Keys
Subtitle providers (OpenSubtitles and SubDL, Pro) are set up in Settings › Providers › Subtitles for subtitle search and fetches. If no subtitle provider is set up, subtitle actions say so instead of running a search.
Where Saved Keys Are Stored
Where a saved key lives depends on how you run MetaTana. Settings › Providers says which case applies to your install.
| Install | Saved keys |
|---|---|
| Desktop app on macOS, Windows, or Linux with a keyring | Encrypted with your system keychain (macOS Keychain, Windows data protection, or the Linux Secret Service or KWallet). New copies of the app data folder and new library database backups hold them only in encrypted form. Keys saved by an earlier version are encrypted the first time 2.0 starts; see Upgrading to 2.0. |
| Desktop app on Linux without a keyring | Stored as plain text in MetaTana's app database. Keep app-data copies and backups private. |
| Docker or another server install | Stored as plain text in MetaTana's app database. Keep the data volume and its backups private, or pass keys as environment variables or secret files instead of saving them in the UI. |
The same storage covers your MetaTana local API key, the background Pro session, your Trakt sign-in, media server sign-ins (Plex, Jellyfin, Emby, and Kodi tokens, API keys, and passwords), and saved webhooks (their addresses carry the receiving service's token).
A keychain-encrypted key opens only on the computer that saved it. If you move the app data folder to another computer, or your system keychain is reset, Settings › Providers lists Saved keys can't be opened on this computer, and the key's row shows Can’t be opened here. Paste the key again to keep using it. MetaTana never sends an encrypted value it can't open:
- Your local API key is replaced with a new one automatically, so the app opens as usual. API key under Settings › Maintenance › Advanced says New key: data came from another computer. Scripts and MCP clients that used the old key need the new one.
- Trakt client ID and secret: the Trakt card on Sync shows Trakt keys can’t be opened here. Paste them again in Settings › Providers › Trakt client keys, then reconnect Trakt.
- Trakt shows Reconnect needed. Reconnect to sign in again.
- Media servers: the server card on Sync asks for the token, API key, or password again. Until you enter it, MetaTana does not contact that server.
- Webhooks shows Saved webhooks can't be opened on this computer. Add them again. Nothing is sent until you do.
If your system keychain is locked or refuses MetaTana, the desktop app shows MetaTana can't open your system keychain. Unlock it, then reopen MetaTana. and changes nothing until it can.
If keys stay locked, Clear saved keys under Settings › Providers (or on the keychain screen) removes only the keys this computer can't open and lists them to enter again. There is no Undo. If the keychain was reset, MetaTana restarts and starts a new keychain store.
Settings backup files (JSON) never include saved keys or the Trakt sign-in, so after restoring one, enter your keys again and reconnect Trakt. They do include your webhooks, with their full addresses, so keep backup files private.
Public Safety
When documenting or sharing configuration:
- show key names only
- redact values
- do not paste hosted session tokens
- do not paste webhook secrets
- do not include one-time email codes
- do not include billing or provider dashboard secrets
*_FILE secret file exists but can't be read, MetaTana uses the plain environment variable instead, and Settings › Providers shows Couldn’t read the key file; using the environment key under that provider. The first-run UI saves and live-tests a personal TMDb credential. Advanced env-var setups must still pass the provider health check before scanning. The MetaTana local API key is under Settings › Maintenance › Advanced › API key; use the METATANA_API_KEY env var only for external callers like the CLI.