grafana/docs/sources/administration/service-accounts/create-service-account.md
Eric Leijonmarck 8677552dda
Service accounts: rename feature toggle (#48037)
* refactor: renaming service-accounts to serviceAccounts

* refactor: renaming service-accounts to serviceAccounts in docs

* tests
2022-04-21 10:41:37 +01:00

1.7 KiB

title menuTitle description weight keywords
Create a service account in Grafana Create a service account How to create a service account in Grafana 50
Service accounts

Create a service account in Grafana

A service account is a user account that you can use to run automated or compute workloads. For more information about how you can use service accounts, refer to [About service accounts]({{< relref "../service-accounts/about-service-accounts.md#">}}).

For more information about creating service accounts via the API, refer to [Create service account via API]({{< relref "../../http_api/serviceaccount.md#create-service-account">}}).

Before you begin

  • Ensure you have added the feature toggle for service accounts serviceAccounts. For more information about adding the feature toggle, refer to [Enable service accounts]({{< relref "./enable-service-accounts.md#">}}).
  • Ensure you have permission to create and edit service accounts. For more information about user permissions, refer to [About users and permissions]({{< relref "../manage-users-and-permissions/about-users-and-permissions.md#">}}).

To create a service account:

  1. Sign in to Grafana and hover your cursor over the organization icon in the sidebar.
  2. Click Service accounts.
  3. Click New service account.
  4. Enter a Display name.
  5. The display name must be unique as it determines the ID associated with the service account.
    • We recommend that you use a consistent naming convention when you name service accounts. A consistent naming convention can help you scale and maintain service accounts in the future.
    • You can change the display name at any time.
  6. Click Create service account.