Skip to content

Github personal token

Heston Hoffman edited this page Nov 17, 2023 · 13 revisions

Integrations that have metrics attempts to read the metrics metadata list from the metadata.csv file in the Datadog web application repo. This requires read access to that repository and your Github Personal Token. If you are not a Datadog employee, please skip this step.

For more information on generating a token, see Github's documentation.

The following permissions are required for your github token that you generate

  • Repo
    • repo:status
    • repo_deployment
    • public_repo
    • repo:invite
  • admin:org
    • write:org
    • read:org
  • admin:repo_hook
    • write:repo_hook
    • read:repo_hook

After you've generated a token, add the following line to the .bash_profile (for BASH) or .zshrc (for ZSH) file in your home directory:

export github_personal_token="paste access token here"

You should then run source ~/.bash_profile or source ~/.zshrc to reload the settings.