How to set up the GitHub integration
Connect GitHub so your team can link issues to the journey-map steps they affect.
An Admin connects GitHub once at the account level. After that, anyone in your workspace can search GitHub and link issues to planning cards on any journey map.
Set up the GitHub integration
GitHub uses a single authentication method: the name of the organization or user that owns the repositories, plus a fine-grained personal access token created for that owner.
Open the GitHub integration in Smaply
Go to Account Settings > Integrations and click Set up next to GitHub in the Planning integrations list.

The Configure GitHub page opens with two empty fields and a blue help block summarising the setup.

Create a fine-grained personal access token in GitHub
Click the github.com/settings/personal-access-tokens link in the help block. It opens GitHub's new fine-grained token form in a new tab. Sign in if asked. You can also get there from your GitHub profile picture via Settings > Developer settings > Personal access tokens > Fine-grained tokens > Generate new token.
Fill in the form:
Token name - Something you'll recognise later, such as
smaply-connector.Expiration - When the token stops working. Smaply's connection stops at the same time, so note the date.
Resource owner - The organization or user that owns the repositories you want to link.
Repository access - Choose Only select repositories and pick the repositories in Selected repositories.
Permissions - Set Issues and Metadata to read-only.
Click Generate token and copy the token.
Enter your details and save
Back on the Configure GitHub page, enter the owner's name in Organization or user name. Use the name as it appears in the GitHub URL, for example octo-org from github.com/octo-org, and make sure it matches the Resource owner you picked for the token. Paste the token into Personal access token and click Save Configuration.
Confirm the connection
Smaply tests the connection and, once it succeeds, the page shows a green confirmation. GitHub is now available to everyone in your account.
Verify the setup
Reopen the Configure GitHub page from Account Settings > Integrations, where the GitHub row now shows Edit. A connected integration shows your organization or user name and a masked token, with a green confirmation that you're connected to GitHub. From here you can also Edit Configuration or Delete Configuration.
If you don't see the green confirmation, check the Troubleshooting section below.
Use GitHub in planning cards
Once GitHub is connected, anyone in your workspace can add a planning card to a journey map, pick GitHub in Search planning items, and link the issue it relates to. The integration links issues, not pull requests. For the full flow, see How to use planning cards.
Troubleshooting
The Configure GitHub page shows the integration's current state. Pick the symptom below that matches what you're seeing.
For questions about how the connection behaves across your account, such as disconnecting GitHub or what happens when you remove it, see How to manage integrations.
Related topics
Last updated