# Create your Alegra connection

{% hint style="info" %}
**Oauth connection**: The first step is to install GearPlug in your account so that GearPlug may access the data.
{% endhint %}

### Set up  access

1. **Head over to “My Apps”** and choose “Alegra” in the drop-down menu. Click “Create.”

<figure><img src="https://lh3.googleusercontent.com/3CqxMWIEf9JS8q1xq1thbfS8ysDFIJO6siQpsEx4c_bS9QmbnnIO_6kipIsF1KwSolbNNxAmdA2f1gzZNSYVnApZ1790aNENTAHWkTtxoe1uUBRO9qeugYvDxZTM07R9sbjIsrCs2IrvQzsNUFUAUA" alt=""><figcaption></figcaption></figure>

2. **Click “Settings”** in your Alegra account.

<figure><img src="https://lh4.googleusercontent.com/zXvHvuWo0r8EejNJwTDRJUHYT2cVQIhtVHdiMomMz29TCWm0xOzW4CeQGiVJU6H3N-Sme37XqiJPgGL3EgJo2frjxcZi-_G_sp1JDICUmlwUpf4hfAAMP_H8_F69_KEtYE-e180F9OVudmEyhvFRXA" alt=""><figcaption></figcaption></figure>

3. **Click “Manual integration - API”** under Integrations.

<figure><img src="https://lh4.googleusercontent.com/JUF5BR0yqshDP5IlyHIPEWYLSb5PLaJZ9ApkOmVO5ev6XKPpxHOIwXuX7J3EDUqMep8399OrctVs3McOEAwXCr55F77O6ubbO3xqPLM1JpRXyD9IgylhjYcpOftL-xuEDD169pgVP3G6C-aiB_P6Dg" alt=""><figcaption></figcaption></figure>

4. **Copy the username and token**. Paste them into their corresponding fields in GearPlug. Click “Continue.” Your app is ready to be used.

<figure><img src="https://lh3.googleusercontent.com/usNMchzlWF4QEFRGMjX8KBH7nDD1IkuIAoqHDJ1STogokAQr5O4uL3blEk5JPAVNfAibPY3Hvclt35KPZ2emXTxXEIl-Rte0O3olk0Vbke8u7VikUVOOutj0ZulIAEF4Z--yKAVfFTdBPSCe5DcRrA" alt=""><figcaption></figcaption></figure>


---

# 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.gearplug.io/english/set-up-your-integrations/alegra/create-your-alegra-connection.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.
