INTEGRATIONS
GitHub

Code Base as Shadow Docs

3min

What is Code Base as Shadow Docs

When you sync a GitHub Repo to an Archbee Space, you will have the possibility of importing your Code Base into that Space as Shadow Docs(see more about Shadow Docs here)

This means that our AI system will index all the Code you configured to be synched and will train the Ask AI assistant with the provided code base. Every document that is added to the Shadow Docs folder will not be visible on your published portal, neither for your customers or for your internal users. The code provided via Shadow Docs will just be there to train your AI and be able to answer questions about your code for your users.

How can you use it?

Here are 2 of the most common use cases:

  1. Sync your app code base to an Archbee Space. Publish an internal(protected, not public) portal for your tech& non-tech teams. This portal, powered by our AI, will now be able to answer questions and even suggest how to perform different improvements, integrations, optimizations, etc. based on your code-base.
  2. Sync your app code base to an Archbee Space. Publish a public portal for your users. Here your users will be able to get direct answers on how to use your App, APIs, SDK, Libraries, etc

How to configure:

1

First you need to configure the GitHub integration as explained here.

Then you need to setup the repository

2

In the archbee.yaml file you need to configure the shadowDocs parameter with the path of your code base that you want to sync with Archbee.

archbee.yaml

archbee.yaml

3

This is how it will look after import

Document image

4

Make sure you have your AI Addon enabled in Organisation Settings

Sum-up

  • All code files sync through Shadow Docs will not be made public at any time
  • The whole purpose is to provide context to our AI so it can answer technical questions and make technical suggestions to your internal or public users



🤔
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.