---
sourceDocument: Brazil Workflow Data Fabric
sourceDocumentLink: https://www.servicenow.com/docs/r/integrate-applications

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Set up the GitHub spoke

# Set up the GitHub spoke {#ariaid-title1}

Release version: Brazil  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read  
Integrate your ServiceNow instance with the GitHub and GitHub Enterprise Server to automate flows and perform actions on GitHub and GitHub Enterprise Server. For example, create a flow that creates a branch on GitHub and retrieves its details.

## Before you begin

* Request an Integration Hub subscription.
* Activate the GitHub spoke.
* An account with GitHub to create personal access tokens.
* If you are using GitHub Enterprise server, an account to create personal access tokens.
* Role required: admin.
{#set-up-github-spoke__ul_j1p_ksd_s1c}

## Procedure

1. Generate a personal access token in GitHub account.
   1. Log in to <https://github.com/>.
   2. On the dashboard, select your profile icon.  
   3. Select Settings.
   4. In the Settings page, on the left panel, select Developer settings.
   5. In the Developer settings page, on the left panel, navigate to Personal access tokensTokens (classic).
   6. Select Generate new tokenGenerate new token (classic).
   7. In Note, enter a description or purpose of the personal access token.
   8. In Expiration, set the expiry period of the token or select No expiration.
   9. Under the Select scopes heading, select the scopes that define the access for the personal access token you're generating.
   10. Select Generate token.  
       The personal access token is generated.
   11. To copy the personal access token, select the copy button.  
       Important:  
       Keep the personal access token at a secure place. You'll need it when you create a connection record for GitHub.
   {#set-up-github-spoke__substeps_yzf_wqw_ryb}
2. Configure the connection record that connects your ServiceNow instance with GitHub.
   1. Log in to your ServiceNow.
   2. Navigate to AllProcess AutomationWorkflow Studio.
   3. Click the Integrations tab.
   4. Under Connections, toggle and enable the Outbound connections.
   5. Locate the GitHub connection alias and click View Details.  
      If you are configuring the spoke for the first time, click Configure. Otherwise, click Edit.
   6. On the form, fill the details.  
      {#set-up-github-spoke__table_azk_3qd_s1c__entry__2}

      | Field | Description |
      |-|-|
      | Connection Name | Name of the connection. Note: The default and read-only name of the first connection record is GitHub. |
      | Connection URL | URL to connect to GitHub. Enter <https://api.github.com>. |
      | Use Mid Server | * Enter <kbd class="ph userinput">1</kbd> if your ServiceNow instance requires a MID Server to connect with GitHub. * Enter <kbd class="ph userinput">0</kbd> if your ServiceNow instance does not require a MID Server to connect with GitHub. {#set-up-github-spoke__ul_ib2_dx2_s1c} Important: To enable this option, you must already have a MID Server set up on your instance. See [MID Server](https://www.servicenow.com/docs/access?context=mid-server-landing&version=brazil&pubname=brazil-servicenow-platform&ft:locale=en-US) for detailed instructions. |
      | API Key | Personal access token that you had generated on GitHub. |
      [Table 1. Configure Connection form]

      {#set-up-github-spoke__table_azk_3qd_s1c}
   7. Select Create Connection.  
      The GitHub connection record is created.
   {#set-up-github-spoke__substeps_ipd_tkb_syb}
3. If you are using GitHub Enterprise server, configure the GitHub Server connection.  
   Important:  
   Generate a personal access token on the GitHub Enterprise server.

   To learn to generate a personal access token on the GitHub Enterprise server, see [Integrate with GitHub Enterprise Server](https://www.servicenow.com/docs/access?context=integrating-with-github-server&version=brazil&pubname=brazil-it-asset-management&ft:locale=en-US).
   1. Select the GitHub Server connection card.
   2. Select View Details.
   3. Fill the form.  
      {#set-up-github-spoke__table_x21_g1j_syb__entry__2}

      | Field | Description |
      |-|-|
      | Connection Name | The name of the connection. Note: The default and read-only name of the first connection record is GitHub Server. To create a connection with your custom name, select Add Connection and fill the form. |
      | Connection URL | URL of your GitHub instance. |
      | Use Mid Server | * Enter <kbd class="ph userinput">1</kbd> if your ServiceNow instance requires a MID Server to connect with the GitHub Enterprise server. * Enter <kbd class="ph userinput">0</kbd> if your ServiceNow instance does not require a MID Server to connect with the GitHub Enterprise server. {#set-up-github-spoke__ul_lbn_y3c_w1c} Important: To enable this option, you must already have a MID Server set up on your instance. See [MID Server](https://www.servicenow.com/docs/access?context=mid-server-landing&version=brazil&pubname=brazil-servicenow-platform&ft:locale=en-US) for detailed instructions. |
      | API Key | Personal access token that you had generated on the GitHub Enterprise Server. |
      [Table 2. Configure Connection form]

      {#set-up-github-spoke__table_x21_g1j_syb}
   4. Select Create Connection.  
      The GitHub Enterprise Server connection record is configured.
   {#set-up-github-spoke__substeps_w21_g1j_syb}

*[\>]: and then


