Bind a Service Instance to Your App

This topic shows how to bind an app to a Tanzu Postgres for Tanzu Application Service instance.

  1. Bind the service instance to your app by running:

    cf bind-service APP-NAME SERVICE-INSTANCE
    

    Where:

    • APP is the app you want to use the Postgres service instance for.
    • SERVICE_INSTANCE is the name you supplied when you ran cf create-service.

    For example:

    cf bind-service pg-app postgres
    
check-circle-line exclamation-circle-line close-line
Scroll to top icon