

# Connecting to an EDI
<a name="connecting-edi"></a>

To ingest data from an EDI data source, follow the procedure below.

1. On the AWS Supply Chain dashboard, on the left navigation pane, choose **Data Lake**.

1. On the **Data lake** page, choose **Add New Source**.

   The **Select your supply chain data source** page appears.

1. Choose **EDI**.

1. In the **EDI Connection Details** page, under **Name your connection**, enter a name for your connection.

1. (Optional) Under **Connection description**, enter a description for your connection.

1. Under **Amazon S3 Bucket Billing**, review the Amazon S3 billing information, and then select **Acknowledge**. 

1. Choose **Next**.

1. Under **Data Mapping**, choose **Get started**.

1. 
**Note**  
EDI 850, EDI 860, and EDI 856 are supported in AWS Supply Chain.
**Note**  
The required fields are already mapped. Perform this step only if you want to make specific changes to the default transformation recipe.

   On the **Mapping Recipe** page, you can view the default transformation recipe under **Field mappings**. 

   Choose **Add mapping**, to map any additional destination field. The **Required Destination Fields** are mandatory. Choose **Destination field** to add an additional custom destination field.
**Note**  
Review all the entities (for example, Inbound Order, Inbound Order Line, and Inbound Order Line Schedule for EDI 850 Entity Group) under each Entity Group.

1. To view the source field values and data mappings from the transformation recipe, you can upload sample data. On the **Mapping Recipe** page, under **Upload sample data**, choose **browse files**, or drag and drop files. The sample data file must contain the required parameters and include the source field names.

1. Choose **Accept all and continue**.

1. Under **Review and confirm**, you can view the data connection summary. To edit your data field mapping, choose **Go back to Data Mapping**.

1. Choose **Confirm and configure data ingestion** to review the Amazon S3 paths where your source data must be uploaded to start the ingestion process.

1. Choose **Confirm and configure data ingestion later** if you want to ingest data later. You can ingest data anytime after creating the connection from the AWS Supply Chain dashboard.

1. On the AWS Supply Chain dashboard, choose **Open Connections**. Select the connection dataflow that you want to ingest data, choose the vertical ellipsis, and select **Ingestion setup**.