# Deploy APIcast ## 1) Get a token to access the Red Hat Registry You will need to create a token to be able to fetch APIcast from the Red Hat registry. Go to [access.redhat.com/terms-based-registry](https://access.redhat.com/terms-based-registry/), log in with your developer account (if you have not already done so), and click "New Service Account." Give the token a name (for the rest of this article, we will use "3scale") and a meaningful description. Click "Create" and the generated token is displayed. Save the username and the token in a safe place for future reference. Click the "Docker Login" tab and copy the "docker login" command somewhere convenient for later use. ![Copy/paste the Docker login command](/hello-world/docker-login.png) Paste it in a terminal. This will log you in so that you can docker can pull the APIcast image. If everything went fine, you should see something like this: ```raw $ docker login -u='123456|3scale' -p=[REDACTED] registry.redhat.io WARNING! Using --password via the CLI is insecure. Use --password-stdin. Login Succeeded ``` ## 2) Deploy APIcast as a standalone API Gateway Create a configuration file for APIcast: ```json cat > config.json < config.json <