---
title: "Add a service account for a script or integration"
description: "How to give a script, service, or integration its own Bearly service account in Bearly Platform, with a monthly spending cap and policy shared by all of its API keys."
canonical: "https://bearly.ai/docs/platform/service-accounts/"
markdown: "https://bearly.ai/docs/platform/service-accounts.md"
---

# Add a service account for a script or integration

HTML: [https://bearly.ai/docs/platform/service-accounts/](https://bearly.ai/docs/platform/service-accounts/)

> How to give a script, service, or integration its own Bearly service account in Bearly Platform, with a monthly spending cap and policy shared by all of its API keys.

A service account is a non-person identity for one script, service, or integration. Its keys don't depend on any member's account, every key it holds shares its monthly cap and policy, and its spend is the organization's, paid from [API credit](https://bearly.ai/docs/platform/api-credit.md). Organization admins manage service accounts in [Bearly Platform](https://bearly.ai/docs/platform.md) under **Keys & access** → **Service accounts**.

**You need:** the organization admin role, and **Bearly API** on under **Policies** → **Access**.

## Add a service account



1. Open **Keys & access** → **Service accounts** and select **Add service account**.
2. Enter a **Name**, such as "Support ticket triage", and an optional **Description**.
3. Set a **Monthly cap** above $0: "Calls stop for the rest of the month once its keys spend this much."
4. Choose a **Policy** for which models and tools its keys can use, or keep **Organization default**.
5. Select **Add service account**. It appears with **Active**.



Next, [create a key](https://bearly.ai/docs/platform/api-keys.md) for it: in its menu, select **Create key**.

## Change, disable, or remove one

A service account's menu has:

- **Edit**: change its name, description, cap, or policy.
- **Create key**: add another key for it.
- **Disable**: "Its keys stop working until you enable it." Select **Enable** to turn them back on.
- **Remove**: stops its keys right away and keeps its usage history. You can't undo it.

A service account that has spent its cap shows **At cap** until the 1st (UTC). To let it keep working this month, raise its **Monthly cap**.

> **Tip**
> Give each job its own service account. **Usage** → **Split by** → **By service account** then shows each job's spend on its own row, and a bug in one job can't use up another's budget.


## Related

- [Create an API key for your organization](https://bearly.ai/docs/platform/api-keys.md)
- [Add API credit](https://bearly.ai/docs/platform/api-credit.md)
- [Set spending limits](https://bearly.ai/docs/platform/spending-limits.md)

## Continue through the documentation

- [Documentation index](https://bearly.ai/docs.md): Browse every Bearly guide.
- [Previous: Create an API key for your organization](https://bearly.ai/docs/platform/api-keys.md)
- [Next: Add prepaid API credit for your organization](https://bearly.ai/docs/platform/api-credit.md)
- [Related: Get started with Bearly Platform](https://bearly.ai/docs/platform.md)
- [Related: Set spending limits for your organization or a group](https://bearly.ai/docs/platform/spending-limits.md)
