Service accounts in Flow

Tags: Flow

Service accounts are a useful way to manage your Flow integrations and API keys. There are three common uses for service accounts:

  • Using a Git and ticket vendor service account
  • Using a service account for automated processes
  • Using a Flow user service account

Who can use this?

 Core
Plus
 
  


Using a Git and ticket vendor service account

Creating a service account allows you to import all of your organization's repos and manage API keys under one generic user and integration without having to worry about exposing access to personal repositories, permission changes, staffing changes, loss of repo access, etc.

To create a Git or ticket vendor service account:

  1. Create a service account email address within your organization. A unique email address is a common requirement for user accounts with most Git vendors. Use an email that is easy to identify such as, flow-integrations@myorg.com.
  2. From the Git or ticket vendor, create a user account with owner or contributor permissions. Required permissions depend on the Git or ticket vendor.
  3. Use the service account email and other information in the integration to connect Flow to the Git or ticket vendor.
  4. Store the credentials in your organization's knowledge base.

Tip: This service email needs the appropriate permissions within your Git or ticket host in order to be able to import and manage your repos within Flow.

back to top


Update Git integrations for automated processes

If you have any automated process as part of your development pipeline, it's best to use a service account for those systems. This allows you to separate the automated activity from the contributor activity.

To create a service account:

  1. Create a service account email address within your organization. A unique email address is a common requirement for user accounts with most Git vendors. Use an email that's easy to identify, like automation@myorg.com.
  2. From the Git vendor, create a user account with owner or contributor permissions. Required permissions depend on the Git vendor.
  3. Use the service account email in the integration to connect the Git vendor to the automated processes.
  4. Store the credentials in your organization's knowledge base.

back to top


Using a Flow user service account for APIs

Using a Flow user service account allows you to maintain your Flow organization configuration and integrations regardless of staffing changes.

To create a Flow user service account:

  1. Create a service account email address within your organization. A unique email address is a requirement for login user accounts in Flow.
  2. From Flow, invite the user to the organization using the email address. It's recommended you use username and password rather than SSO for this account in Flow.
  3. Assign Admin role or grant all permissions to this user.
  4. Store the credentials in your organization's knowledge base.

back to top


If you need help, please contact Pluralsight Support.