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

# Add AI features with your own API keys

> Add chat, summaries, or generation inside your app using OpenAI, Anthropic, or another provider — not Mythex builder credits.

# Add AI features with your own API keys

<Note>
  This is AI **inside the app you build**. It is separate from the Mythex coding agent (Standard / Pro models and build credits).
</Note>

## Steps

1. Get an API key from your AI provider
2. Store it as a project secret
3. Prompt:

```text theme={null}
Add a simple chat UI that calls [PROVIDER] using secret [ENV_NAME] on the server.
Stream responses if straightforward. Never expose the key to the browser.
```

Provider usage bills your provider account — not Mythex build credits.

## Related

* [Integrate any API](/recipes/integrate-any-api)
* [Plans](/billing/plans) — Mythex builder models
