+++ title = "6. Connect Registry" chapter = false weight = 15 +++ You need to have a Docker registry in order to store your application container. Codefresh will push your application to the registry after it is built. Then the EKS cluster will pull this container in order to launch the application. By using the public DockerHub registry, we don't need to setup any credentials or authentication information. In a real production application you might use a private container registry such as [Amazon ECR](https://aws.amazon.com/ecr/). ### Create an Dockerhub account If you don't have Dockerhub account yet: - Sign up for a free Dockerhub account at [https://hub.docker.com/signup](https://hub.docker.com/signup) - Note down your username and password as we will use them [later in Codefresh](https://codefresh.io/docs/docs/integrations/docker-registries/docker-hub/) ### Connect the container registry to Codefresh - Log into Codefresh and go to your Registry settings at [https://g.codefresh.io/account-admin/account-conf/integration/registryNew](https://g.codefresh.io/account-admin/account-conf/integration/registryNew) - Click the **Add Registry provider** button and select *Dockerhub* from the drop down menu * Registry name - `dockerhub` * Username - Your DockerHub ID that you used to signup * Password - Your DockerHub password that you used to signup ![Registry integration](/images/prerequisites/dockerhub-integration.png) - Click **Test connection** button on the lower right to verify your settings. You should get a success message at the top of the screen - Finally click the **Save** button to apply your changes. {{% notice warning %}} The registry name we used (`dockerhub` in our case) is important because we will reference it in the following sections inside our pipelines. If you choose another name for your integration, remember to note it down. {{% /notice %}}