How to create a personal access token for DevOps Integrations | Targetprocess - Visual management software

How to create a personal access token for DevOps Integrations

GitLab integration

For GitLab Integration a personal access token must include an 'api' scope.

How to create personal access token in GitLab.

gitlab-token

GitHub Integration

Go to Settings -> Developer settings -> Personal access tokens and generate personal access token with the following scopes:

  • Repo: repo:status, repo:deployment, public_repo, repo:invite
  • Admin:repo_hook: write:repo_hook, read:repo_hook
  • User: read:user, user:email

How to create access token in GitHub.

Github_scopes2

 Azure DevOps

  1. Go to User Settings > Security > Personal Access Tokens

(https://dev.azure.com/{your organization}/_usersSettings/tokens)

2. Create the token with the following scopes:

  • Build - Read
  • Code - Full ('Full' is required, to post comment to Pull Request with back link to Targetprocess. Also for other automations like create branch from Targetprocess via repo custom fields. If you don't need these additions, then 'Read' access to code will be enough)
  • Graph - Read

How to create access token in Azure DevOps

Azure-scopes

 Bitbucket Cloud

  1. Go to Bitbucket Settings / OAuth. Click Add new consumer.
  2. Copy the URL from the field below that would be automatically generated for you after you add Bitbucket team URL in Step 1. The URL would look like:
  • {your_host}/svc/devops-service/profiles/{your_devOps_profile_id}/auth/callback
  1. Select the following consumer permissions:
  • Account - Write
  • Repositories - Admin
  • Pull Requests - Write
  • Webhooks - Read and Write
  • Pipelines - Write

Bitbucket_consumer

  1. Under OAuth consumers find your newly created one, expand it, copy values from Key and Secret and paste them to corresponding fields on Targetprocess Bitbucket profile page

Bitbucket_keys

Bitbucket Server

  1. Go to User Settings > Manage account > Personal access tokens and generate a new token with the following permissions:
  • Projects - Admin
  • Repositories - Admin (inherited)

BitbucketServer_token

Phabricator

  1. Go to Settings -> Conduit API Token (link is https://{your_instance}.phacility.com/settings/user/{username_in_Phabricator}/page/apitokens ) and generate a new API token

Phabricator_Api_token

Still have a question?

We're here to help! Just contact our friendly support team

Find out more about our APIs, Plugins, Mashups and custom extensions. Join our community of passionate users and even discuss directly with our developers.

Or contact
a sales representative

Get a live
product demo

Let one of our product specialists create your account
and shape Targetprocess for your company needs.