Skip to content

Connect GitHub to EkLine Docs Agent

Connect your GitHub organization to EkLine. Docs Agent can then watch your repositories, review pull requests, and write docs.

  • An EkLine account with an organization. Sign up if you haven’t already.
  • Admin access to the GitHub organization you want to connect.

If you do not see the GitHub Integration tab or the Install the GitHub App button, contact support@ekline.io.

You start the install from the GitHub Integration settings page. The first time, it shows the Install the GitHub App button.

The GitHub Integration settings page under Settings then Integrations, showing the GitHub is not connected yet notice and the Install the GitHub App button
  1. Open GitHub integration settings.

    Go to your EkLine Dashboard, then open Settings > Integrations > GitHub Integration.

  2. Start the installation.

    Click the Install the GitHub App button. GitHub opens so you can authorize the EkLine app.

  3. Select your GitHub account.

    On the GitHub page, select the user account that authorizes EkLine.

  4. Select the target organization.

    Select the GitHub organization to install the EkLine app on.

  5. Select repository access.

    GitHub shows two options:

    • All repositories: EkLine can access every repository in the organization.
    • Only select repositories: you select the repositories.

    Select Only select repositories, then search for the repositories EkLine should watch. You can change this later in your GitHub organization settings.

  6. Complete the GitHub installation.

    Click the Install button. GitHub sends you back to EkLine to finish the connection.

When GitHub sends you back, EkLine links the install to your EkLine organization. If EkLine shows the GitHub App Setup page with an organization picker, finish the connection there.

  1. Select your organization.

    On the GitHub App Setup page, use the Select an organization dropdown. Select the EkLine organization to link to this install.

  2. Finish the connection.

    Click the Connect GitHub button. EkLine links your GitHub organization and loads your repositories.

One EkLine organization can connect more than one GitHub organization. Any member of your EkLine organization can add one.

  1. On the GitHub Integration settings page, find Connected GitHub accounts, which lists the accounts already connected.
  2. Click Install on another GitHub account, then follow the same steps as the first install.

Repositories from every connected account appear together in the repository lists. If EkLine can no longer reach a connected account, for example because the app was uninstalled there, a warning naming that account appears on the page.

If you don’t see Connected GitHub accounts, contact support@ekline.io.

Once you connect, the GitHub integration page shows two lists of repositories. Each list has a badge that shows whether EkLine writes there.

SectionBadgePurpose
Where EkLine writesWrite accessRepositories that hold your docs. EkLine opens pull requests here. You can set paths to target certain folders or files.
What else EkLine can readRead-onlyCode repositories where your product changes land. EkLine reads them to see what changed and why. It never writes to them.
  1. Search and select a repository.

    Use the search field under Where EkLine writes to find and select a repository.

  2. Add documentation paths.

    Click the Add Path button next to the repository. Enter the file or folder path for EkLine to watch, such as docs/, README.md, or content/.

    Click Save. The path shows as a tag that you can remove later.

  3. Check that monitoring is on.

    The Enable monitoring switch is on by default for each repository you add. While it is on, EkLine runs automatic PR review on the repository’s pull requests, if automatic PR review is on for your organization. Turn it off only to stop automatic review for that repository.

  4. Check that your selection saved.

    Your selection saves as you change it, so there is no save button. A message under the list reads Saving…, then Saved. If a save fails, it reads Could not save the repository selection. and shows a Try again control.

Use the search field under What else EkLine can read to select code repositories. They give EkLine context when it writes and reviews docs. Like the repositories under Where EkLine writes, they can get automatic PR review. They need no paths.

When setup is done, check that:

  • The Connected GitHub accounts section lists the GitHub account you installed the app on.
  • Your selected repositories appear under Where EkLine writes or What else EkLine can read.
  • Docs paths show as tags next to their repositories.
  • Enable monitoring is on for each repository you want EkLine to review automatically.

Reply to your welcome email or contact support@ekline.io. We read every message.

Built on Potluck Docs, our open source template.