# Rollout to your repositories

## Apply coding standards for agents across all your repos

**Configure and update multiple codebases automatically with pull requests**

Tessl connects directly to GitHub and GitLab so you can initialize repositories and rollout shared guidance (coding standards, conventions, and agent instructions) across your codebase, automatically through pull requests (PRs).

Without this integration, teams rely on manual edits, onboarding docs, or one-off repo configuration. With the Tessl integrated, Tessl can use branches and PRs to:

* add the [configuration files](/reference/configuration.md) needed to use Tessl (`tessl.json`, `.mcp.json`)
* update those files as your guidance evolves
* apply the same guidance to multiple repositories in a single action
* keep every change visible, reviewable, and merge-controlled

Nothing is applied directly to your codebases, *every update ships as a PR you review and merge like any other change.*

***

## What you can do with Repository Integration

Once GitHub or GitLab access is enabled, you can perform three core actions:

### 1. Initialize a repository for Tessl

Tessl generates a PR that may include:

* a new or updated `tessl.json`
* a `.mcp.json` file enabling Tessl as an MCP server

You merge whenever you're ready.

### 2. Distribute shared guidance across repositories

From the Tessl interface, you can select a guidance resource and generate pull requests across multiple repositories at once. This capability is helpful for rolling out:

* coding conventions
* architectural patterns
* internal standards
* agent instructions

### 3. Remove the integration at any time

Uninstall the integration and remove the connection from Tessl.

***

## What this guide covers

This documentation walks through five workflows:

1. [**Permissions**](/distribute/rollout-to-your-repositories/permissions.md)\
   Required permissions in Tessl and integration
2. [**Connect Tessl to GitHub**](/distribute/rollout-to-your-repositories/connect-tessl-to-github.md)

   Enable the GitHub App so Tessl can create pull requests.
3. [**Connect Tessl to GitLab**](/distribute/rollout-to-your-repositories/connect-tessl-to-gitlab.md)\
   Configure GitLab so Tessl can create pull requests.
4. [**Initialize a repository**](/distribute/rollout-to-your-repositories/initialize-a-repository.md)<sup>**\***</sup>

   Use the Setup action to generate configuration inside a repository.
5. [**Distribute tiles across multiple repositories**](/distribute/rollout-to-your-repositories/distribute-tiles-across-multiple-repositories.md)<sup>**\***</sup>

   Select a resource and generate PRs across the repositories you choose.
6. [**Remove the integration**](/distribute/rollout-to-your-repositories/removing-the-integration.md)

   Uninstall the integration and remove the connection from Tessl.

<sup>\*</sup>Each workflow ends with a pull request, reviewed and merged through your normal development process.


---

# 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.tessl.io/distribute/rollout-to-your-repositories.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.
