# Onboarding Process for File Exchange
source: https://developer.mastercard.com/account-to-account-commerce-for-csp/tutorial/ngft-file-exchange/step1/index.md
### Onboarding Process for File Exchange {#onboarding-process-for-file-exchange}
### Flow Diagram {#flow-diagram}
The diagram represents the flow of the onboarding process to the file exchange service:

### Prerequisites {#prerequisites}
Note:
* The detailed prerequisites for the customers to avail the service are:
* The customer (Company ID and User) should be onboarded as a Mastercard customer on Mastercard Connect. The flow to onboarding a company to Mastercard Connect is governed by the Global Business Services Center (GBSC) Onboarding team depending on the type of customer.
* If the customer is planning to exchange files using HTTP APIs, generate CSR and get **Client DNs** from KMP Portal.
For example: CN=apptest-envMTF, OU=test-MTF, O=Mastercard - Test, DC=mastercard, DC=com
* The customer should be able to order the **File Exchange** application on Mastercard Connect.
* Refer to the [Mastercard File Exchange User Guide](https://techdocs.mastercard.com/bundle/p_FXUSG/page/yyf1676873871848.html) available on the [Technical Resource Center](https://techdocs.mastercard.com/) via [Mastercard Connect](https://www.mastercardconnect.com/-/sign-in) for low-level details on the process.
### Step 1 - Product setup {#step-1---product-setup}
Your first step is to create a new product via the File Exchange application, accessible via Mastercard Connect.
1. Login to the **Mastercard File Exchange** application.
2. Select the "**My Products** " tab, and click "**Add New Product**".

The detailed sections outline how to complete the setup for the Account to Account Commerce functionality.
1. The **Details** screen is to add the product name and its details.
1. Add the product name. When adding a new product, we recommend you set the product name to **Account to Account Commerce**.
2. Select A2AC@\< company name \> for "**My product will exchange files using**". This is the logical address that represents the files you send and receive related to the Account to Account Commerce product. This is used several times within the setup process.
3. Click **Next**.

2. The **File Profile** screen is to add or manage file profiles.
The A2AC requires one file profiles to be set up as Mastercard provides report to customer.
* For **Mastercard To Customer** the steps are:
1. Select **Action** as "**Consumes**", as the customer consumes the scored transaction file sent from Mastercard.
2. Leave file profile blank.
3. Processor is not applicable for this implementation type.
4. Click **Attached File Profile**.
5. Click **Next**.

3. The **Connections** screen is to add supported protocols for customers to initiate the connection.
As the customer initiates the connection, the customer should choose one of the options:
* Customer initiated HTTPS Push/Pull
* Customer initiated SFTP Push/Pull
1. Select "Push" for the entry where the customer pushes files to Mastercard.
2. Select "Pull" for the entry where Mastercard is providing the files to the customer. This means the customer needs to connect and pull the file once it has been processed.

Note:
* Refer to the [Mastercard File Exchange User Guide](https://techdocs.mastercard.com/bundle/p_FXUSG/page/yyf1676873871848.html) for the configuration requirements needed based on your selected connection type.
* **Protocols supported by File Exchange Service**
* File Exchange Service supports the protocols for customers are:
* The customer initiated HTTP PUSH and Pull - via API
* Mastercard initiated HTTP upload and download - via Web UI
* Mastercard initiated SFTP Push over the Internet
4. The **Authorization** screen is to add usage projection details.
- On the given screen, the usage projections like file size, frequency of file exchanges, retention, etc. must be captured. The contact information of the customer should be added in the contact details section. The retention period can be specified in both hours and days.

5. The **Review** screen is to preview the added details.
- Once all the details are entered, review the settings, and click **Complete**.

### Step 2 - Activating your product {#step-2---activating-your-product}
* Once the product has been set up, File exchange Registrar of the Customer Company need to **Activate** it before you can use it. To do this, go to the Product page and click the name of the product, for example, "**Account to Account Commerce**".
* In the bottom right corner of the page, click **Action** then select **Activate** . The product can now be selected when completing the **File Exchange Setup** activities.