Configuring Coding CLI token

Configure a coding CLI token for IBM Bob or GitHub Copilot to enable Code Genie automated work item implementation and AI-powered code reviews.

For work item implementation and AI code review to function, Code Genie requires a Coding CLI token. By default, Code Genie supports two AI providers: GitHub Copilot (using built-in dev container) and IBM Bob (dev container using IBM Bob Shell is available on DockerHub).

The following steps guide you through creating a Coding CLI token:

  1. Generate a token or API key from your preferred AI provider:
    • GitHub Copilot: You can obtain a GitHub personal access token with the appropriate Copilot permissions. To create your token, navigate directly to your GitHub Personal Access Tokens Settings. For detailed documentation on managing these personal access tokens to configure Code Genie capabilities, refer to Managing your personal access tokens. If access is denied, contact your IT team to request configuration and enablement of valid GitHub Copilot subscription and username.
    • IBM Bob: You can generate an API key from the IBM Bob admin page. Refer to the IBM Bob API Keys Documentation.

  2. Navigate to the Manage Coding CLI menu in the Coding CLI tab from Installed Integrations in the DevOps Loop settings.
  3. Add the generated key or token to the coding CLI configuration section and save the entry.