A secure, multi-tenant authentication component that lets your users connect their third-party tools and services directly in your app. Built for SaaS companies that need to authenticate and manage their customers’ integrations at scale.
Install the AuthKit token generator package
Set your Pica API key as an environment variable
PICA_SECRET_KEY
environment variable to the value of the API key.Create an API endpoint to generate a token
api/authkit
.Parameter | Type | Description |
---|---|---|
identity | string | A meaningful identifier for the user, team, or organization that will own the connection (e.g. userId, teamId, organizationId). This label is how you will identify and filter connections. |
identityType | "user" | "team" | "organization" | "project" | Specifies whether the identity represents a user, team, organization, or project |
Install the AuthKit client package
Create a button to open the AuthKit modal
Enable the integrations you want visible