> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.sparkedhost.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to pull a bot file from a GitHub repository

There are a few requirements in order to be able to pull a bot file from a GitLab/GitHub repository. 

* You must get your Git Access Token, and make sure it has all permissions enabled. If you are using Gitlab, click [here](https://gitlab.com/-/profile/personal_access_tokens). If you are using GitHub, click [here](https://github.com/settings/tokens).
* Your File Manager must be empty.

# How to pull a bot file from a GitHub repository

1. Go to the "Startup" tab in the Apollo Panel.

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/startup_nzx6of.png)

2. Find the Git options.

3. Fill out every option, including the Username and the Git Access Token. Make sure it starts with "github.com" and ends with ".git" on the repository URL at the Git repo address option!

4.  Delete every file from the File Manager, if you have not done it already.

|| Note: This is VERY important. Without this step, It would not work!

5. Go to the "Settings" tab in the Apollo Panel, and click the option "Reinstall server".

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/sett_11imk54.png)

After a few seconds, your bot should have been pulled from Gitlab/Github. 

---

If you require any further assistance, please create a ticket here.


---

Created By: Greg K.