> ## Documentation Index
> Fetch the complete documentation index at: https://help.os.translated.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Setting up the GitHub and GitLab connector

> Installing the app and configuring projects and filesets

For engineering teams.

**1. Agree service types**

Agree the service levels with Translated before anything else, since they are part of every project's configuration. See [Service types](https://help.os.translated.com/reference/service-types.md).

**2. Let Translated analyse your files**

Translated reviews your file formats and builds custom parsers where your structures are not already supported.

Send real files, not samples you have tidied up. The structures that need custom parsers are exactly the ones a tidied sample hides.

**3. Install the connector**

**GitHub and GitHub Enterprise.** Install the connector's GitHub app on your repository and grant its permissions. The app installs a webhook for push events.

**GitLab.** Setup is staff-assisted and covers GitLab.com only. Translated walks you through it.

**4. Create a project**

A project covers one branch of one repository. Set:

* The observed branch, where source content lives
* The delivery branch, which can be the same
* The fetch method and the delivery method
* Source and target languages
* TranslationOS metadata: service type, instructions, invoicing details

**5. Create filesets**

For each fileset, set:

* Source paths and file names, using wildcards
* Target naming, using placeholders
* Whether these are string resources or documents
* The parser, for resources, or the content type, for documents
* How missing and outdated translations are handled at delivery
* Any URL pre-processing rules

Available target naming placeholders: language name; original file name, with or without extension; original file extension; ISO 639-1 language code and country code; country name; ISO 3166 alpha-2 country code.

**6. Run the initial sync**

Creating the project triggers a comparison between the observed branch and your existing targets. Nothing is ingested; the connector is building its picture of what is missing.

Review the result before enabling intake. If the connector thinks everything is missing and you believe it is already translated, your target naming pattern is probably wrong.

**7. Configure fileset-level overrides, optional**

Filesets can override the project's source language, target languages, and service type. Useful when one part of a repository needs a different treatment.

> [!WARNING]
>
> Before creating a second project on the same repository, check it cannot overlap with the first. Each file must belong to exactly one fileset. Use the matched files preview on the target pattern field to check what a pattern actually captures before saving it.

## Testing

Use a non-production branch for the first project. Delivery commits directly to the branch, so pointing a misconfigured project at a live branch is not something you want to discover afterwards.

## Support

* General questions: `info-tos@translated.com`
* Technical questions and onboarding: `api@translated.com`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.