# Code hosting platforms

Swarmia integrates with GitHub and GitLab to show you metrics based on their activity. If your organization uses both, you can connect those in the same Swarmia organization.

To get started, go to [code hosting settings](https://app.swarmia.com/settings/version-control).

Since the setup process differs between the two, we recommend reviewing the integration-specific guides below before connecting:

[GitHub integration details](/settings/integrations/code-hosting-platforms/github.md)

[GitLab integration details](/settings/integrations/code-hosting-platforms/gitlab.md)


---

# 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://help.swarmia.com/settings/integrations/code-hosting-platforms.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.
