Skip to main content

What are Service Accounts?

Service accounts allow you create non-human entities. This is perfect if you’re building a product that uses AI and you want to represent that logically in Requesty. A service account can have multiple API keys and the spend from those keys will not be tied to any user. You can also perform analytics on service account spend to track how certain non-human users are using AI.

Creating a Service Account

Only administrators can create service accounts. Follow these steps:
  1. Navigate to the Admin Panel
  2. Select Service Accounts from the menu
  3. Click the Create Service Account button
  4. Enter a name for your service account (e.g., “Production API”, “Mobile App”, “Analytics Service”)
  5. Click Create
Your service account is now created and ready to have API keys assigned to it.

Creating an API Key for a Service Account

API keys can be created under a specific service account, keeping them organized and easy to manage.

Steps:

  1. Navigate to the API Keys section
  2. Click Create New API Key
  3. Click Service Account
  4. Pick which service account you’d like to create an API key for
  5. Give it a name, and click Create

Managing Service Accounts Keys

Just like any other API key, you can create a limit, expiration, logging and other settings per API key.

Deleting a Service Account

To delete a service account:
  1. Navigate to Admin PanelService Accounts
  2. Locate the service account you want to delete
  3. Click the Delete button
  4. Confirm the deletion
Note: You can only delete a service account if it has no active API keys. Remove all keys first before deletion.