--- title: "Create a Service Account for Admin API" slug: "create-service-account-for-admin-api" description: "Create secure service accounts in Narmi Command for Admin API access, with role-based permissions, IP allowlists, scopes, and token management." tags: ["Token Management", "Admin API Access"] status: "new" updated: 2026-12-01T16:16:11Z published: 2026-12-01T16:16:11Z canonical: "help.narmi.com/create-service-account-for-admin-api" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.narmi.com/llms.txt > Use this file to discover all available pages before exploring further. # Create a Service Account for Admin API Creating a service account is a secure and simple way to generate API access credentials for internal and third-party developers working with the Admin API. This process streamlines access management when building Narmi Functions and NAF Apps, as well as other OAuth applications. Once the service account feature is enabled, you can create multiple service users and manage their token access. *Note: Service accounts do not have access to the Narmi Command front-end user interface. They only have Admin API access for a specific client.* ## Service Account Permissions Your staff must have the following permissions to access and manage service accounts in Narmi Command. To assign permissions to staff members, see [Manage Roles](https://help.narmi.com/docs/manage-roles). - Can view service accounts - Can add service accounts - Can delete service accounts ## Create a Service Account To create a service account: 1. Contact your Narmi Relationship Manager to enable the service account feature. 2. Once enabled, from Narmi Command, go to **Staff members** > **Staff** > **Add staff member**. 3. Enter the following information for the service user: ![sa1](https://cdn.document360.io/3f0bd847-05b9-4e98-b884-31d0303a85ba/Images/Documentation/sa1.png?sv=2026-02-06&spr=https&st=2026-12-03T23%3A41%3A27Z&se=2026-12-04T00%3A41%3A27Z&sr=b&sp=r&sig=jlJOp6T6XDRTsBXoX6dWOwRFPZqLerBcgqEgUkeCVaA%3D) - **First name**, **Last name**, and **Email** - **Permissions** – Select the permissions to assign to the service user. These are the same permissions that are set in **Staff Members** > **Roles** and vary by institution. - **Role** – This could be any role previously created by staff or a new role for service accounts that your institution creates. *Note: If a permission or role changes, the change will impact the service user. A new token does not need to be issued if permissions or roles are changed, as they will be automatically applied to the token and service user.* - Select **Is this a service account?** When finished entering information, select **Add staff member**. 4. On the confirmation dialog that appears, select **Yes, add new user**. ![sa2](https://cdn.document360.io/3f0bd847-05b9-4e98-b884-31d0303a85ba/Images/Documentation/sa2.png?sv=2026-02-06&spr=https&st=2026-12-03T23%3A41%3A27Z&se=2026-12-04T00%3A41%3A27Z&sr=b&sp=r&sig=95ggm51KS1MaSWsbOtyRpoXMNhGD5scqfrjplM0Gbpc%3D) 5. On the next page, provide a list of IP addresses to whitelist. Select **Check your IP** to open a new browser tab with your IP address. Select `Enter/Return` on the keyboard after typing each IP. You can add a maximum of 256 IP addresses. After entering all IPs, select **Add allowed IPs**. ![ips](https://cdn.document360.io/3f0bd847-05b9-4e98-b884-31d0303a85ba/Images/Documentation/ips.png?sv=2026-02-06&spr=https&st=2026-12-03T23%3A41%3A27Z&se=2026-12-04T00%3A41%3A27Z&sr=b&sp=r&sig=naJyqGzGgCiwbOyLDBYOyBmG395O51ikMxKp2i%2FK0kY%3D) 6. Next, under **Options**, you can select **Display Token After Creation?** to display the token on-screen once it is created. Then, under **Select Scopes**, choose the scopes the service user should be able to access. These scopes define read or write access to sets of endpoints for the service user. (Not all available scopes are shown in the image below.) Select **Set Scopes** at the bottom of the page to finish. ![scopes](https://cdn.document360.io/3f0bd847-05b9-4e98-b884-31d0303a85ba/Images/Documentation/scopes.png?sv=2026-02-06&spr=https&st=2026-12-03T23%3A41%3A27Z&se=2026-12-04T00%3A41%3A27Z&sr=b&sp=r&sig=vc5LfIXz1Pe67i9dgzr%2FzC07dXYBPpzcHRdNg%2FN2ndU%3D) 7. A message appears confirming the Admin API access token was sent to the service user's email. The email includes a secure link, which directs to a Narmi-hosted page where the service user can retrieve their token. *Note: After a service user clicks the link in the email to access the Admin API token, they will not be able to access the token again. The service user must save this token to a secure location, as this will be the only time the token is visible.* ![scopes2](https://cdn.document360.io/3f0bd847-05b9-4e98-b884-31d0303a85ba/Images/Documentation/scopes2.png?sv=2026-02-06&spr=https&st=2026-12-03T23%3A41%3A27Z&se=2026-12-04T00%3A41%3A27Z&sr=b&sp=r&sig=W5UeoVCcXIBT%2BuOi5ckfQ3F8FCrcTLCW1nfMCsmI844%3D) To get a new token, your institution must regenerate it for the service user. In Narmi Command, go to the service user's profile page via **Staff members** > **Staff** and select the user's name. On the profile page that appears, select the three dots > **Regenerate token**. This will send the service user a new email with a token link. You can also select **Revoke token**. No email is sent when revoking a token. The service user's profile page shown below is different from a regular staff user profile page. ![sa7](https://cdn.document360.io/3f0bd847-05b9-4e98-b884-31d0303a85ba/Images/Documentation/sa7.png?sv=2026-02-06&spr=https&st=2026-12-03T23%3A41%3A27Z&se=2026-12-04T00%3A41%3A27Z&sr=b&sp=r&sig=2NUxjJZssrn7kCYJCoMJBMZEjzVnQI%2B%2Bqp209skRsAo%3D) You can also manage IP addresses and scopes from the service user's profile. To add or remove IP addresses, select **Allowed IPs**. To add or remove scopes, select **Scopes**. ## Related - [Admin API Overview](/admin-api-overview.md)