# Integrate BotPenguin with Gitbook

### Steps to Integrate GitBook with BotPenguin

#### Step 1: Navigate to Your BotPenguin Account

1. Log in to your BotPenguin account.\
   ![](https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FQuLB0aO5ATKCTkscaJS0%2Fimage.png?alt=media\&token=5f3100f7-d719-467c-9c59-df21ca5a0455)
2. Select the chatbot you wish to integrate with GitBook from your list of bots.

#### Step 2: Access Third-Party App Integrations

1. In your selected chatbot’s settings, navigate to the **Third-Party App Integrations** section.<br>

   <figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FItDSM27WsjBsGMUnNWOk%2Fimage.png?alt=media&#x26;token=405d47a5-eb11-4fe1-84a0-04cf9fbc288c" alt=""><figcaption></figcaption></figure>
2. Use the search bar to find **GitBook**.<br>

   <figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FZrwnCVRa6v7ZBWrCFFMM%2Fimage.png?alt=media&#x26;token=89367f1a-5876-4a61-8d4b-19b277ef002e" alt=""><figcaption></figcaption></figure>
3. Click on the **Connect** button next to GitBook.

#### Step 3: Generate an API Access Token in GitBook

To integrate GitBook, you’ll need an API access token. Follow these steps:

1. Log in to your GitBook account.
2. Go to the **Settings** section of your GitBook account.<br>

   <figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2F6CsaLpSI2Amk7IIzi4zD%2Fimage.png?alt=media&#x26;token=907c19c2-e6c7-4fc1-9803-1db10fd57b0b" alt=""><figcaption></figcaption></figure>
3. Navigate to the **Developer Settings** section.<br>

   <figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2Ff5hy3DikDBkY4tEfWJzG%2Fimage.png?alt=media&#x26;token=ef50d86d-1481-4431-aeaa-987cfc1ef474" alt=""><figcaption></figcaption></figure>
4. Click on the **Create New Token** button.
   * Name the token appropriately to identify its purpose.
   * Set the required permissions for the token.<br>

     <figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2F8MGkukUI2rQMfp5EeUCi%2Fimage.png?alt=media&#x26;token=da187850-26ea-40f4-90af-203db3becfc7" alt=""><figcaption></figcaption></figure>
5. Copy the generated API access token.<br>

   <figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2Fg2mFFMAOnpHn4u46A1gc%2Fimage.png?alt=media&#x26;token=24a0878b-f939-4d2a-8c46-9a5ba7126e29" alt=""><figcaption></figcaption></figure>

#### Step 4: Connect GitBook with BotPenguin

1. Return to the BotPenguin dashboard.
2. Paste the copied API access token into the field provided in the GitBook integration setup.
3. Click on the **Connect** button to finalize the integration.<br>

   <figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2F8JQkztIAGOTEzSuF7W1y%2Fimage.png?alt=media&#x26;token=323ec295-c84d-4197-8e8d-46bbbf27b579" alt=""><figcaption></figcaption></figure>

#### Confirmation

Once the integration is successful, you’ll receive a confirmation message. Your chatbot can now access the data and content from your GitBook to improve its training and responses.

### Troubleshooting

If you encounter any issues during the integration:

1. Ensure that the API token has the necessary permissions in GitBook.
2. Double-check that the API token is correctly copied and pasted.
3. Verify that you have an active internet connection and are logged into both BotPenguin and GitBook.

If everything is correct and you are still unable to move forward, write to us at <support@botpenguin.com>. We will respond back within 48 business hours.
