# Adding an AS2 Partner

The AS2 protocol is a file transfer protocol commonly used to transfer EDI files from one AS2 partner to another.

In this document, we will learn how to add an AS2 Partner in Astera.

### Configuring an AS2 Partner

1. To setup an AS2 Partner go to the *Server Explorer*, right-click on *DEFAULT* and select the *AS2 Setup* option.

<img src="/files/fUuFz0F5NiwkNyJpoJcy" alt="" width="267">

2. The *AS2 setup* configuration page will open, select the *AS2 Partners* tab. This is where all configured partners are shown.

<img src="/files/1MFu9kOp6uycNTmdMzzd" alt="" width="563">

{% hint style="info" %}
**Note:** Make sure your *deployment directory* is set up in the [*Cluster Settings*](/astera-data-stack-v10/project-management-and-scheduling/project-management/deployment.md) before this step.&#x20;
{% endhint %}

3. Let’s click on the import arrow to add a new partner.

<img src="/files/CN9x2pmciax6BodPaVJb" alt="" width="563">

An *Import Partner* window will open like this:

<img src="/files/ImFpuMBY6KKjnQbwAakG" alt="" width="563">

* *Partner Name –* The name used to refer to this partner.
* *Partner URL* – The URL of the partners server where their AS2 service is active.
* *AS2 ID* – Partners unique identifier.
* *Certificate File* – File path where the partners public certificate is stored.

Now, let’s add our AS2 partner and click *Import*.

<img src="/files/QBVpgL3pyhwauVT9JSnb" alt="" width="563">

4. Our AS2 partner has been added.

<img src="/files/k7aYPKZRAXogWLJRRTJ8" alt="" width="563">

This is how an AS2 partner can be added to send and receive EDI files in Astera.


---

# 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://documentation.astera.com/astera-data-stack-v10/workflows/as2/adding-an-as2-partner.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.
