# GitHub

This walkthrough shows you how to use our GitHub integration add CloudTruth External parameters from GitHub.

## Prerequisites

* You have a [GitHub account](https://github.com/join).
* You have created one or more [CloudTruth Parameters](/configuration-management/parameters/parameter-management/managing-parameters.md).
* You have created a [CloudTruth API Access token](/configuration-management/integrations.md#api-tokens).

## Connecting CloudTruth to a GitHub Repo

Navigate to the GitHub integration in the CloudTruth app and click `Manage GitHub Access`.

![](/files/-Mi8Q-lCRzGWws4zzYwl)

This will bring you to a GitHub login where you will authenticate with your GitHub account.

![](/files/-MW4DiWImrbYA_lGfOlq)

Select a GitHub account to install the CloudTruth App.

![](/files/dn0bke4sbUwoQDK1GArS)

The installation will bring you to the Github application settings.

You can install CloudTruth with the following permissions on All repos or you can be selective to specific repositories.

![](/files/taWjabkv2oRAd3ByXhw9)

Once the GitHub CloudTruth application is installed you will be redirected back to CloudTruth where the integration will be displayed.

![](/files/-Mi8Pw8nXWXm_7DYZoZe)

{% hint style="success" %}
Congrats:clap:You are now able to assign [External CloudTruth Parameters](/configuration-management/parameters/parameter-management/external-values.md) from GitHub that are provided in yaml and json file types.
{% endhint %}


---

# 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.cloudtruth.com/configuration-management/integrations/github.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.
