apps/opik-documentation/documentation/fern/docs-v2/administration/admin-dashboard/service_accounts.mdx
Service accounts provide programmatic access to Opik for automated systems, CI/CD pipelines, and integrations. Unlike user accounts, service accounts use API keys for authentication and don't require interactive login.
<Note> Service Accounts is available on Opik Cloud and Enterprise plans. This feature is not available in open-source deployments. [Reach out](https://www.comet.com/site/about-us/contact-us/) if you want to enable this feature for your Opik deployment. </Note>Each service account can have multiple API keys. To manage keys:
From the API keys modal you can:
Configure the Opik SDK with a service account API key:
import opik
# Using environment variables (recommended)
# export OPIK_API_KEY=your-service-account-api-key
# export OPIK_WORKSPACE=your-workspace
client = opik.Opik()
# Or configure directly
client = opik.Opik(
api_key="your-service-account-api-key",
workspace="your-workspace"
)