# 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](https://docs.chainvine.xyz/developers/sdk/classes-and-functions/authentication/allow-listing-a-domain) for your dApp to authenticate SDK requests.

## For the Server

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