

# Accept an Direct Connect hosted connection
<a name="accept-hosted-connection"></a>

If you are interested in purchasing a hosted connection, you must contact an AWS Direct Connect Partner in the AWS Direct Connect Partner Program. The partner provisions the connection for you. After the connection is configured, it appears in the **Connections** pane in the Direct Connect console.

Before you can begin using a hosted connection, you must accept the connection. You can accept a hosted connection using either the Direct Connect console or using the command line or API.

1. Open the **Direct Connect** console at [https://console.aws.amazon.com/directconnect/v2/home](https://console.aws.amazon.com/directconnect/v2/home).

1. In the navigation pane, choose **Connections**.

1. Select the hosted connection and choose **View details**.

1. Select the confirmation check box and choose **Accept**.

**To accept a hosted connection using the command line or API**
+ [confirm-connection](https://docs.aws.amazon.com/cli/latest/reference/directconnect/confirm-connection.html) (AWS CLI)
+ [ConfirmConnection](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_ConfirmConnection.html) (Direct Connect API)