# Gitbook

This guide details how to integrate Frontman with your GitBook repository to import training data directly for your chatbot.

### Connecting GitBook to Frontman

1. Access the data loader section and Select "Gitbook" as the data source.

<figure><img src="/files/RtveOodip846JVIaNO18" alt=""><figcaption></figcaption></figure>

2. **Root URL:** In the designated field, enter the root URL of your GitBook repository. It should follow the format `https://[your-username].gitbook.io/` or `https://docs.[company-name].com/`.

<figure><img src="/files/YO0GiRld0OIH2LfU9ZOS" alt=""><figcaption></figcaption></figure>

3. Choose the desired **Import Frequency**:

* **None:** Manually trigger imports whenever needed.
* **Daily:** Automatically import data updates every day.
* **Weekly:** Automatically import data updates every week.

<figure><img src="/files/VD5URMvToyZobRxsYEc3" alt=""><figcaption></figcaption></figure>

4. Click "**Connect**" to establish the connection between Frontman and your Gitbook project. You may be prompted to authorize access depending on your Gitbook project settings.

<figure><img src="/files/ssAfFNvWW4BdnwWLqe0v" alt=""><figcaption></figcaption></figure>

### **Important Considerations:**

* **Data Security:** Connecting a private GitBook repository requires providing an access token. Ensure you understand the security implications before granting access to Frontman.
* **Data Updates:** This integration currently offers a one-time import. If you update your training data in GitBook, you'll need to re-initiate the import process from the Frontman dashboard to reflect the changes.
* **Large Repositories:** For very large GitBook repositories, the import process might take longer.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.makerobos.com/frontman-enterprise-chatbot-platform/instinct-ai/train-ai/data-loaders/gitbook.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
