How to integrate additional Github accounts?
To integrate an additional GitHub account into Hivel, particularly a service account to avoid integrating personal repositories, follow these steps:
Step 1: Prepare a Service Account
Log into the GitHub service account:
Use a dedicated service account that has access to the required repositories for Hivel integration.
Avoid using personal GitHub accounts to ensure only the intended repositories are accessed.
Step 2: Access Developer Settings
Click on the Profile Icon in the top-right corner of the GitHub dashboard.
Select Settings from the dropdown menu.
Scroll down and click on Developer Settings in the sidebar.
Step 3: Create a Personal Access Token
In Developer Settings, navigate to Personal Access Tokens.
Choose Tokens (classic), as the Fine-Grained Tokens are still in beta and may have limitations.
Step 4: Configure the Classic Token
Click Generate New Token and select Classic Token.
Fill out the following details:
Token Name: Enter
Hivel
as the token name.Expiration Date: Set it to no expiration date for uninterrupted integration. (You can revoke this token manually when the engagement ends.)
Specify the scopes the token needs to operate effectively with Hivel:
repo
org
hooks
user
Once the configurations are complete, click Generate Token.
Step 5: Share the Token with Hivel
Copy the generated token immediately, as you won’t be able to view it again.
Provide the following details securely to Hivel for the integration:
Personal Access Token: Paste the copied token.
Username: Provide the service account’s GitHub username.
Email: Provide the email associated with the GitHub service account.
Step 6: Publish Webhooks
Ensure that the service account has the required permissions to publish webhooks for your repositories. These permissions are critical for enabling Hivel to fetch and analyze development activity data.
Last updated
Was this helpful?