Skip to main content

Connect your workstation to your Chef Habitat On-Prem Builder deployment

Follow the steps below to configure your workstation to connect with your Chef Habitat On-Prem Builder deployment.

Before you begin

Before you begin, you’ll need to set or create an authentication token in your Habitat Builder deployment.

If you don’t already have a token, follow these steps to generate one:

  1. In the top right corner of your Habitat On-Prem Builder site, select your Gravatar icon, then select Profile.
  2. On the profile page, generate your access token and save it securely.

Configure your workstation

To configure your workstation to connect to your deployment of Chef Habitat On-Prem Builder, set the following environment variables:

  1. Set HAB_BLDR_URL to the URL of your Chef Habitat On-Prem Builder deployment. For example:

    export HAB_BLDR_URL=https://bldr.example.com/bldr/v1/
    
  2. Set HAB_AUTH_TOKEN to your authentication token:

    export HAB_AUTH_TOKEN=<ON_PREM_BUILDER_INSTANCE_TOKEN>
    
  3. If your Chef Habitat On-Prem Builder deployment uses SSL with a self-signed or untrusted certificate, set SSL_CERT_FILE to the correct certificate when connecting to your Habitat Builder.

    export SSL_CERT_FILE=path/to/ssl-certificate.crt
    
Edit this page on GitHub

Thank you for your feedback!

×