> For the complete documentation index, see [llms.txt](https://ohana-1.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ohana-1.gitbook.io/docs/getting-started/authentication.md).

# Authentication

All endpoints in this documentation are protected using an API Key, that we provide for free. To make an api call, you will need to pass a header `API-Key`&#x20;

{% hint style="info" %}
To get your api key, [Open a Chat,](https://ohanaai.dev/new) on the sidebar, click on the link Api Keys
{% endhint %}

### Access API Keys

To get the api keys, you just open a new chat, then on the sidebar at the bottom, you will see a button named API Keys. This simply means you will have to create an account.

<figure><img src="https://2488535134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3dQWNsSadTJTXK1IgxIA%2Fuploads%2FdRxdWlXWU1n8YywGJdiv%2FScreenshot%20from%202024-12-15%2001-02-51.v1.png?alt=media&amp;token=162b5a7e-3433-4bd6-a4b4-9257c5c731a8" alt=""><figcaption></figcaption></figure>

### Generate API Key

On opening the API Key modal, you may not have an active API key, so you will need to generate one. Click on the Generate button to generate one.

<figure><img src="https://2488535134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3dQWNsSadTJTXK1IgxIA%2Fuploads%2FPjW6oUSLIc6sNrAw5K9N%2FScreenshot%20from%202024-12-15%2001-14-28.v1.png?alt=media&amp;token=45fd3cae-37aa-4967-8342-3cf0a2145c0f" alt=""><figcaption></figcaption></figure>

Before you generate an API Key, you will need to choose a default model, which in most cases will be the one you are using on the chat. You can always change though.
