Add a GitHub profile

Removal notice:

Please note that the URL user and URL user password parameters were removed in 5.8.5 (see Deprecation notice: URL user and URL user password parameters). We recommend using profiles to access external data.

This article illustrates the process of adding a GitHub profile to be used with the HTML for Confluence macros.

Before you begin:

To add a profile, you need the following:

  • Personal access token for information about generating a GitHub access token. Refer to GitHub access token for the actual URL to get the access token if you have a GitHub account.

  • Whitelist the GitHub URL in Confluence configuration settings if Restrict URL access in HTML for Confluence Configuration is enabled.

  • Raw URL of the file to be rendered.

A raw URL is defined as the part of the URL following the domain information and includes the query string, if present. For example, in the URL string http://www.contoso.com/articles/recent.aspx, the raw URL is /articles/recent.aspx.

For this example, let's add a GitHub profile to an Html-bobswift macro.

Steps

  1. Select  > Manage apps, either search for HTML for Confluence or scroll to Bob Swift Configuration, and click HTML to view app configuration.

  1. Click Add Profile.

  2. Enter a unique profile name in the Profile name text box. 

  3. Select GitHub from the options in Profile type.

    Image shows how to add a GitHub profile.
    HTML Configuration > Profiles > Add profile

  4. Enter the relevant URL for GitHub in the URL text box. Example: https://api.github.com/repos. 

  5. Enter User and Password credentials required to access the given URL, or enter the access token for your GitHub profile in the Access token text box. Refer to this personal access token article to know how to create your personal access token. 

    In this example, an access token is used to connect and access the GitHub repositories.

  6. Click Save profile to create a profile.

Helpful resources

 


Find answers from the community.

Ask a question to the community.

Log a request with our support team.

Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2024 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.

Unable to render {include} The included page could not be found.