> For the complete documentation index, see [llms.txt](https://docs.chainvine.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chainvine.xyz/developers/sdk/classes-and-functions/authentication.md).

# Authentication

The ChainVine API uses API keys and domain allowlisting to authenticate requests depending on where you want to use it.

## For the Browser

**Recommendation**

Setup [domain allowlisting](/developers/sdk/classes-and-functions/authentication/allow-listing-a-domain.md) for your dApp to authenticate SDK requests.

## For the Server

Use [API Keys](/developers/sdk/classes-and-functions/authentication/getting-your-api-key.md) to authenticate and authorize requests from your servers.
