The Github integration allows you to upload files inside a repository to your knowledge base.

How do I add files from my Github?

Step 1: Adding Github Datasource on Libraria.

  1. Go to the Knowledge Base of the Library you want to add a knowledge to.
  2. Click on the External Data Sources tab.
Extenal data sources
  1. Select Github.
Select Github drive
  1. A window will pop up then click on Import Github Repos.
Github integration
  1. A new window will open for allowing access to your Github account. Click on Authorize becaoding to allow access.
Github account
  1. Once done, you will see that under the Active Direct Integrations section, Github is now added.
Actice integrations

Step 2: Move to Github Tab on Libraria

  1. Go back to Knowledge Base and click Add Knowledge
Add knowledge
  1. Select Scrape with links
Scrape with links
  1. Select Github from the tabs that are in the link section. Log-in with Oauth to the account with your repo.
Github drive tab

Step 3: Paste your File URL or Repository URL

  1. You can simply get the link to your repository or file by copying it from the URL field of your browser.
Repo url
  1. Paste your repository URL in the field. Click Add more if you want to add more URLs.
Pasted url
  1. Click the Submit button. Once submitted, a window will appear showing how much credits you will use and the files that will be added to your knowledge base.
  1. Click on the Submit button in the window to confirm and add it to your library.