> For the complete documentation index, see [llms.txt](https://abyss-project.gitbook.io/abyss-crypt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://abyss-project.gitbook.io/abyss-crypt/setup/core.md).

# Core

[How to create an API Key ?](https://abyss-project.gitbook.io/abyss/onboarding/projects-and-applications#create-api-key)

### Using the NPM Core Package

The Core setup will allow you to use the core methods to access the service API.

{% code overflow="wrap" lineNumbers="true" %}

```typescript
AbyssCryptCore.setConfig({
      // Your Crypt Account API key
      apiKey: "crypt-account-api-key",
});
AbyssCryptCore.enableAxiosRetry();
```

{% endcode %}

### Standalone

If you are not using the [NPM package](https://www.npmjs.com/package/@abyss-project/crypt) to access the API, you can skip this step and just set your API key on the HTTP request header.

{% code overflow="wrap" lineNumbers="true" %}

```http
// HTTP Version
GET /api/user/me HTTP/1.1
Host: crypt-api.abyss-project.fr
abyss-crypt-api-key: "abyss-crypt-api-key"

// Curl Version
curl --location 'https://crypt-api.abyss-project.fr/api/user/me' \
--header 'abyss-crypt-api-key: abyss-crypt-api-key'
```

{% endcode %}

{% hint style="info" %}
`abyss-`crypt`-api-key:`allow you to access account endpoint
{% endhint %}
