Below are the steps to integrate GitHub with the existing account and OAuth:

  1. Select the Issue tracker integration option from the repository context menu of the desired repository.
  2. In Issue Tracker Integration pop-up, select the platform as GitHub, there will be 2 options:
    1. Existing Authentication
    2. OAuth Authentication 
  3. Existing Authentication will be by default selected option. This will state that your GitHub account is already linked with the repository.
  4. If you do not want to go with existing authentication, tick the checkbox for OAuth Authentication.
  5. Generate Atlassian Client ID Key. For more information, refer to this article.
  6. Generate Atlassian Client Secret Key. For more information, refer to this article.
     Note:
     Homepage URL and Authorization callback URL should match where BrowserStack Code Quality is hosted. (E.g. http://192.145.15.09:3000)
  7. Mention your Repository URL. (For E.g. https://github.com/mariten/kanatools-java)
  8. Click on Authorize Access button.
  9. A new tab will be opened. Copy the verification code and paste in the “Verification Code” text box manually.
     Note: All the other fields are disabled.
  10. Click the Verify button to add the GitHub account successfully.
 Note:  GitHub issues integration is currently limited to Recommendation Engine related features. Task integration and risk calculation will be supportd at a later point in time.