

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

If you are interested in purchasing a hosted connection, you must contact an Amazon Direct Connect Partner in the Amazon Direct Connect Partner Program. The partner provisions the connection for you. After the connection is configured, it appears in the **Connections** pane in the Amazon 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 Amazon Direct Connect console or using the command line or API.

1. Open the **Amazon Direct Connect** console at [https://console.amazonaws.cn/directconnect/v2/home](https://console.amazonaws.cn/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.amazonaws.cn/cli/latest/reference/directconnect/confirm-connection.html) (Amazon CLI)
+ [ConfirmConnection](https://docs.amazonaws.cn/directconnect/latest/APIReference/API_ConfirmConnection.html) (Amazon Direct Connect API)