# Step 5: Create a task

A task is used to exchange files between multiple systems using multiple protocols, and process files with built-in functions and custom scripts. Tasks define how, where, and when data is transmitted or manipulated.

## Create a basic task

1. Click **New Task**.

2. Enter a task name.

3. Add a source step to the task:
   1. Click the insert step icon (![](https://www.progress.com/automate-mft/documentation/assets/b2ead4f091f5867ff7680c1dd43dcbb4/comment-step.png)), select **Source**, and select an endpoint.
   2. Choose the SFTP endpoint from [step 2](https://www.progress.com/automate-mft/documentation/get-started/step-2-define-an-sftp-endpoint).
   3. Click **Next**, then configure the path to the source files, and click **Save**.

      For SFTP and FTPS endpoints, folder browsing starts from the user’s default directory instead of the root directory.

4. Add a destination step to the task:

   1. Click the arrow icon (![](https://www.progress.com/automate-mft/documentation/assets/16447fe21bc19d0d3594d9178fbd9f5d/step-5-create-a-task.png)) at the location where you want to add the **Destination**, select **Destination** > **Upload**, and select an endpoint.
   2. Choose the same SFTP endpoint.
   3. Click **Next**, then configure the path to the source files, and click **Save**. Ensure that the path is not the same as the path for the source files.

   When you select an endpoint, the dialog displays the endpoint name so you can confirm you are configuring the correct source or destination.

5. Assign the schedule created in [step 4](https://www.progress.com/automate-mft/documentation/get-started/step-4-add-a-schedule) to the task.

6. Assign the self-hosted agent created in [step 3](https://www.progress.com/automate-mft/documentation/get-started/step-3-install-and-register-a-self-hosted-agent) to the task.

7. To save the task setup, click **Save**.
