# Authentication for npm calls

For authentication, the npm package requires:

* A Fabricate API key
* The Fabricate API URL

By default, Fabricate uses the current version of the API - `https://fabricate.tonic.ai/api/v1`.

To provide the API key and URL, use the following parameters:

```
apiKey: 'your-api-key',
apiUrl: 'https://fabricate.tonic.ai/api/v1',
```

<br>
