> ## Documentation Index
> Fetch the complete documentation index at: https://lummi.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

To use the Lummi SDK, you need a valid token, which can be obtained from the [Lummi Developer Portal](https://www.lummi.ai/portal/developer). This token is required to authenticate your requests to Lummi services.

Follow these steps to authenticate and start using the Lummi SDK:

```typescript
import { InitLummi } from 'lummi'
import { LUMMI_API_KEY } from '@/envs'

await InitLummi(LUMMI_API_KEY)
```

<Tip>
  Once you initialize the Lummi with the `Init` method, you can call any
  method from the SDK without needing to pass the token again.
</Tip>
