Introduction
Installation
Install the Authalla SDK and connect it to your tenant so you can start building authentication flows quickly.
Install the SDK
pnpm add @authalla/sdk
Configure credentials
Create an API key in the Admin UI and store it as an environment variable:
AUTHALLA_API_KEY=your_api_key_here
AUTHALLA_TENANT_ID=tenant_123
Initialize the client
import { Authalla } from '@authalla/sdk'
const authalla = new Authalla({
tenantId: process.env.AUTHALLA_TENANT_ID ?? '',
apiKey: process.env.AUTHALLA_API_KEY ?? '',
})