Overview
WorkOS AuthKit provides SSO and directory sync for enterprise organisations. This guide connects CrewAI Platform to your WorkOS application.Installing for the first time? Use a Deployment Guide for a complete end-to-end walkthrough including infrastructure setup, a full
values.yaml, and post-install steps:Prerequisites
- WorkOS account at workos.com
- Admin access to the WorkOS Dashboard
Step 1: Create a WorkOS Application
- In the WorkOS Dashboard, navigate to Applications
- Click Create Application
- Enter a name (e.g.,
CrewAI Platform) - Note the Client ID shown on the application’s main page
Step 2: Configure Redirect URI
In your WorkOS Application settings, add a redirect URI:<APPLICATION_HOST> with your platform’s hostname (the value you set in envVars.APPLICATION_HOST).
Step 3: Note Your AuthKit Domain
- In the WorkOS Dashboard, navigate to Developer → Domains
- Note your AuthKit domain (e.g.,
your-org.authkit.appor a custom domain if configured)
Step 4: Obtain Your API Key
- In the WorkOS Dashboard, go to the main API Keys page
- Copy your API key — it starts with
sk_live_(production) orsk_test_(test environment)
Step 5: Configure Helm Values
Generate a cookie password (must be 32 characters or fewer):openssl rand -base64 32 command produces a 44-character base64 string; the | cut -c -32 suffix truncates it to the required maximum. Omitting the cut step produces a value that WorkOS silently rejects at authentication time.
Add to your my-values.yaml:
WORKOS_COOKIE_PASSWORD is stored as an environment variable (not a Kubernetes Secret) by the chart schema. To avoid committing it to version control, supply it via --set or a separate gitignored values file:oauth.enabled controls the Built-in Integrations service (Google Workspace, Microsoft 365, HubSpot, etc.) — it is NOT required for WorkOS authentication. WorkOS SSO works without oauth.enabled: true.Combining With Other Features
- Wharf (trace collection): No additional values needed — Wharf is enabled by default. Ensure the
wharfdatabase is pre-created before install. See Wharf reference. - Studio V2: Configured entirely post-install via the web UI and
kubectl execcommands. No Helm values exist for it. See Enable Studio V2. - Built-in Integrations (Google Workspace, Microsoft 365, etc.): Requires
oauth.enabled: trueand the relevant OAuth credentials. See Built-In Integrations. - ArgoCD / GitOps: Auto-generated secrets must be set explicitly. See the ArgoCD guide.
Verify Login
After runninghelm install or helm upgrade, navigate to your platform hostname. You should be redirected to the WorkOS AuthKit login page.
If authentication fails, check the web pod logs:
