Skip Navigation
Show nav
Heroku Dev Center Dev Center
  • Get Started
  • Documentation
  • Changelog
  • Search
Heroku Dev Center Dev Center
  • Get Started
    • Node.js
    • Ruby on Rails
    • Ruby
    • Python
    • Java
    • PHP
    • Go
    • Scala
    • Clojure
    • .NET
  • Documentation
  • Changelog
  • More
    Additional Resources
    • Home
    • Elements
    • Products
    • Pricing
    • Careers
    • Help
    • Status
    • Events
    • Podcasts
    • Compliance Center
    Heroku Blog

    Heroku Blog

    Find out what's new with Heroku on our blog.

    Visit Blog
  • Log in or Sign up
View categories

Categories

  • Heroku Architecture
    • Compute (Dynos)
      • Dyno Management
      • Dyno Concepts
      • Dyno Behavior
      • Dyno Reference
      • Dyno Troubleshooting
    • Stacks (operating system images)
    • Networking & DNS
    • Platform Policies
    • Buildpacks
    • Platform Principles
  • Developer Tools
    • Command Line
    • Heroku VS Code Extension
  • Deployment
    • Deploying with Git
    • Deploying with Docker
    • Deployment Integrations
  • Continuous Delivery & Integration (Heroku Flow)
    • Continuous Integration
  • Language Support
    • Node.js
      • Node.js Behavior in Heroku
      • Troubleshooting Node.js Apps
      • Working with Node.js
    • Ruby
      • Rails Support
      • Working with Bundler
      • Working with Ruby
      • Ruby Behavior in Heroku
      • Troubleshooting Ruby Apps
    • Python
      • Working with Python
      • Background Jobs in Python
      • Python Behavior in Heroku
      • Working with Django
    • Java
      • Java Behavior in Heroku
      • Working with Java
      • Working with Maven
      • Working with Spring Boot
      • Troubleshooting Java Apps
    • PHP
      • Working with PHP
      • PHP Behavior in Heroku
    • Go
      • Go Dependency Management
    • Scala
    • Clojure
    • .NET
      • Working with .NET
  • Databases & Data Management
    • Heroku Postgres
      • Postgres Basics
      • Postgres Getting Started
      • Postgres Performance
      • Postgres Data Transfer & Preservation
      • Postgres Availability
      • Postgres Special Topics
      • Migrating to Heroku Postgres
    • Heroku Key-Value Store
    • Apache Kafka on Heroku
    • Other Data Stores
  • AI
    • Vector Database
    • Model Context Protocol
    • Working with AI
    • Heroku Inference
      • Inference Essentials
      • AI Models
      • Inference API
      • Heroku Inference Quick Start Guides
  • Monitoring & Metrics
    • Logging
  • App Performance
  • Add-ons
    • All Add-ons
  • Collaboration
  • Security
    • App Security
    • Identities & Authentication
      • Single Sign-on (SSO)
    • Private Spaces
      • Infrastructure Networking
    • Compliance
  • Heroku Enterprise
    • Enterprise Accounts
    • Enterprise Teams
  • Patterns & Best Practices
  • Extending Heroku
    • Platform API
    • App Webhooks
    • Heroku Labs
    • Building Add-ons
      • Add-on Development Tasks
      • Add-on APIs
      • Add-on Guidelines & Requirements
    • Building CLI Plugins
    • Developing Buildpacks
    • Dev Center
  • Accounts & Billing
  • Troubleshooting & Support
  • Integrating with Salesforce
    • Heroku AppLink
      • Getting Started with Heroku AppLink
      • Working wtih Heroku AppLink
      • Heroku AppLink Reference
    • Heroku Connect (Salesforce sync)
      • Heroku Connect Administration
      • Heroku Connect Reference
      • Heroku Connect Troubleshooting
    • Other Salesforce Integrations
  • Integrating with Salesforce
  • Heroku AppLink
  • Heroku AppLink Reference
  • Heroku AppLink CLI Plugin

Heroku AppLink CLI Plugin

Last updated July 14, 2025

Table of Contents

  • Install the Heroku CLI
  • Install the Heroku AppLink CLI Plugin
  • Heroku AppLink CLI Commands

The Heroku AppLink CLI plugin for the Heroku CLI allows you to set up and manage the Heroku AppLink add-on through the command line interface.

Install the Heroku CLI

You must have the Heroku CLI installed before adding the Heroku AppLink CLI plugin. See Heroku CLI for instructions.

Install the Heroku AppLink CLI Plugin

To install the plugin, run the CLI command:

$ heroku plugins:install @heroku-cli/plugin-applink

Heroku AppLink CLI Commands

You must provision the add-on before you can issue any commands from the plugin. This article includes the help texts for each of the plugin’s commands. You can see help text in your terminal with heroku applink --help.

heroku applink:authorizations

list Heroku AppLink authorized users

USAGE
  $ heroku applink:authorizations -a <value> [--addon <value>] [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --addon=<value>   unique name or ID of an AppLink add-on

DESCRIPTION
  list Heroku AppLink authorized users

See code: src/commands/applink/authorizations/index.ts

heroku applink:authorizations:info DEVELOPER_NAME

show info for a Heroku AppLink authorized user

USAGE
  $ heroku applink:authorizations:info DEVELOPER_NAME -a <value> [--addon <value>]
    [-r <value>]

ARGUMENTS
  DEVELOPER_NAME  developer name of the authorization

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --addon=<value>   unique name or ID of an AppLink add-on

DESCRIPTION
  show info for a Heroku AppLink authorized user

See code: src/commands/applink/authorizations/info.ts

heroku applink:connections

list Heroku AppLink connections

USAGE
  $ heroku applink:connections -a <value> [--addon <value>] [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --addon=<value>   unique name or ID of an AppLink add-on

DESCRIPTION
  list Heroku AppLink connections

See code: src/commands/applink/connections/index.ts

heroku applink:connections:info CONNECTION_NAME

show info for a Heroku AppLink connection

USAGE
  $ heroku applink:connections:info CONNECTION_NAME -a <value> [--addon <value>]
    [-r <value>]

ARGUMENTS
  CONNECTION_NAME  name of the connected org

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --addon=<value>   unique name or ID of an AppLink add-on

DESCRIPTION
  show info for a Heroku AppLink connection

See code: src/commands/applink/connections/info.ts

heroku datacloud:authorizations:add DEVELOPER_NAME

store a user’s credentials for connecting a Data Cloud org to a Heroku app

USAGE
  $ heroku datacloud:authorizations:add DEVELOPER_NAME -a <value> [--addon <value>]
    [--browser <value>] [-l <value>] [-r <value>]

ARGUMENTS
  DEVELOPER_NAME  unique developer name for the authorization. Must begin with a
                  letter, end with a letter or a number, and between 3-30
                  characters. Only alphanumeric characters and non-consecutive
                  underscores ('_') are allowed.

FLAGS
  -a, --app=<value>        (required) app to run command against
  -l, --login-url=<value>  Salesforce login URL
  -r, --remote=<value>     git remote of app to use
      --addon=<value>      unique name or ID of an AppLink add-on
      --browser=<value>    browser to open OAuth flow with (example: "firefox",
                           "safari")

DESCRIPTION
  store a user's credentials for connecting a Data Cloud org to a Heroku app

See code: src/commands/datacloud/authorizations/add.ts

heroku datacloud:authorizations:remove DEVELOPER_NAME

remove a Data Cloud authorization from a Heroku app

USAGE
  $ heroku datacloud:authorizations:remove DEVELOPER_NAME -a <value> [--addon
    <value>] [-c <value>] [-r <value>]

ARGUMENTS
  DEVELOPER_NAME  developer name of the Data Cloud authorization

FLAGS
  -a, --app=<value>      (required) app to run command against
  -c, --confirm=<value>  set to developer name to bypass confirm prompt
  -r, --remote=<value>   git remote of app to use
      --addon=<value>    unique name or ID of an AppLink add-on

DESCRIPTION
  remove a Data Cloud authorization from a Heroku app

See code: src/commands/datacloud/authorizations/remove.ts

heroku datacloud:connect CONNECTION_NAME

connect a Data Cloud org to a Heroku app

USAGE
  $ heroku datacloud:connect CONNECTION_NAME -a <value> [--addon <value>]
    [--browser <value>] [-l <value>] [-r <value>]

ARGUMENTS
  CONNECTION_NAME  name for the Data Cloud connection. Must begin with a letter,
                   end with a letter or a number, and between 3-30 characters. Only
                   alphanumeric characters and non-consecutive underscores ('_')
                   are allowed.

FLAGS
  -a, --app=<value>        (required) app to run command against
  -l, --login-url=<value>  Salesforce login URL
  -r, --remote=<value>     git remote of app to use
      --addon=<value>      unique name or ID of an AppLink add-on
      --browser=<value>    browser to open OAuth flow with (example: "firefox",
                           "safari")

DESCRIPTION
  connect a Data Cloud org to a Heroku app

See code: src/commands/datacloud/connect.ts

heroku datacloud:data-action-target:create LABEL

create a Data Cloud data action target for a Heroku app

USAGE
  $ heroku datacloud:data-action-target:create LABEL -a <value> -o <value> -p
  <value> [--addon <value>] [-n <value>] [-t webhook] [-r <value>]

ARGUMENTS
  LABEL  label for the data action target. Must begin with a letter, end with a
         letter or a number, and between 3-30 characters. Only alphanumeric
         characters and non-consecutive underscores ('_') are allowed.

FLAGS
  -a, --app=<value>              (required) app to run command against
  -n, --api-name=<value>         [default: <LABEL>] API name for the data action
                                 target
  -o, --connection-name=<value>  (required) Data Cloud connection namee to create
                                 the data action target
  -p, --target-api-path=<value>  (required) API path for the data action target
                                 excluding app URL, eg "/" or
                                 "/handleDataCloudDataChangeEvent"
  -r, --remote=<value>           git remote of app to use
  -t, --type=<option>            [default: webhook] Data action target type
                                 <options: webhook>
      --addon=<value>            unique name or ID of an AppLink add-on

DESCRIPTION
  create a Data Cloud data action target for a Heroku app

See code: src/commands/datacloud/data-action-target/create.ts

heroku datacloud:disconnect CONNECTION_NAME

disconnect a Data Cloud org from a Heroku app

USAGE
  $ heroku datacloud:disconnect CONNECTION_NAME -a <value> [--addon <value>] [-c
    <value>] [-r <value>]

ARGUMENTS
  CONNECTION_NAME  name of the Data Cloud connection

FLAGS
  -a, --app=<value>      (required) app to run command against
  -c, --confirm=<value>  set to Data Cloud org connection name to bypass confirm
                         prompt
  -r, --remote=<value>   git remote of app to use
      --addon=<value>    unique name or ID of an AppLink add-on

DESCRIPTION
  disconnect a Data Cloud org from a Heroku app

See code: src/commands/datacloud/disconnect.ts

heroku salesforce:authorizations:add DEVELOPER_NAME

store a user’s credentials for connecting a Salesforce org to a Heroku app

USAGE
  $ heroku salesforce:authorizations:add DEVELOPER_NAME -a <value> [--addon
    <value>] [--browser <value>] [-l <value>] [-r <value>]

ARGUMENTS
  DEVELOPER_NAME  unique developer name for the authorization. Must begin with a
                  letter, end with a letter or a number, and between 3-30
                  characters. Only alphanumeric characters and non-consecutive
                  underscores ('_') are allowed.

FLAGS
  -a, --app=<value>        (required) app to run command against
  -l, --login-url=<value>  Salesforce login URL
  -r, --remote=<value>     git remote of app to use
      --addon=<value>      unique name or ID of an AppLink add-on
      --browser=<value>    browser to open OAuth flow with (example: "firefox",
                           "safari")

DESCRIPTION
  store a user's credentials for connecting a Salesforce org to a Heroku app

See code: src/commands/salesforce/authorizations/add.ts

heroku salesforce:authorizations:remove DEVELOPER_NAME

remove a Salesforce authorization from a Heroku app

USAGE
  $ heroku salesforce:authorizations:remove DEVELOPER_NAME -a <value> [--addon
    <value>] [-c <value>] [-r <value>]

ARGUMENTS
  DEVELOPER_NAME  developer name of the Salesforce authorization

FLAGS
  -a, --app=<value>      (required) app to run command against
  -c, --confirm=<value>  set to developer name to bypass confirm prompt
  -r, --remote=<value>   git remote of app to use
      --addon=<value>    unique name or ID of an AppLink add-on

DESCRIPTION
  remove a Salesforce authorization from a Heroku app

See code: src/commands/salesforce/authorizations/remove.ts

heroku salesforce:connect CONNECTION_NAME

connect a Salesforce org to a Heroku app

USAGE
  $ heroku salesforce:connect CONNECTION_NAME -a <value> [--addon <value>]
    [--browser <value>] [-l <value>] [-r <value>]

ARGUMENTS
  CONNECTION_NAME  name for the Salesforce connection.  Must begin with a letter,
                   end with a letter or a number, and be between 3-30 characters.
                   Only alphanumeric characters and non-consecutive underscores
                   ('_') are allowed.

FLAGS
  -a, --app=<value>        (required) app to run command against
  -l, --login-url=<value>  login URL
  -r, --remote=<value>     git remote of app to use
      --addon=<value>      unique name or ID of an AppLink add-on
      --browser=<value>    browser to open OAuth flow with (example: "firefox",
                           "safari")

DESCRIPTION
  connect a Salesforce org to a Heroku app

See code: src/commands/salesforce/connect/index.ts

heroku salesforce:connect:jwt CONNECTION_NAME

connect a Salesforce org to Heroku app using a JWT auth token

USAGE
  $ heroku salesforce:connect:jwt CONNECTION_NAME -a <value> --client-id <value>
    --jwt-key-file <value> --username <value> [--addon <value>] [-l <value>] [-r
    <value>]

ARGUMENTS
  CONNECTION_NAME  name for the Salesforce connection.  Must begin with a letter,
                   end with a letter or a number, and be between 3-30 characters.
                   Only alphanumeric characters and non-consecutive underscores
                   ('_') are allowed.

FLAGS
  -a, --app=<value>           (required) app to run command against
  -l, --login-url=<value>     Salesforce login URL
  -r, --remote=<value>        git remote of app to use
      --addon=<value>         unique name or ID of an AppLink add-on
      --client-id=<value>     (required) ID of consumer key
      --jwt-key-file=<value>  (required) path to file containing private key to
                              authorize with
      --username=<value>      (required) Salesforce username

DESCRIPTION
  connect a Salesforce org to Heroku app using a JWT auth token

See code: src/commands/salesforce/connect/jwt.ts

heroku salesforce:disconnect CONNECTION_NAME

disconnect a Salesforce org from a Heroku app

USAGE
  $ heroku salesforce:disconnect CONNECTION_NAME -a <value> [--addon <value>] [-c
    <value>] [-r <value>]

ARGUMENTS
  CONNECTION_NAME  name of the Salesforce connection you would like to disconnect

FLAGS
  -a, --app=<value>      (required) app to run command against
  -c, --confirm=<value>  set to Salesforce connection name to bypass confirm prompt
  -r, --remote=<value>   git remote of app to use
      --addon=<value>    unique name or ID of an AppLink add-on

DESCRIPTION
  disconnect a Salesforce org from a Heroku app

See code: src/commands/salesforce/disconnect.ts

heroku salesforce:publications

list Salesforce orgs the app is published to

USAGE
  $ heroku salesforce:publications -a <value> [--addon <value>] [--connection_name
    <value>] [-r <value>]

FLAGS
  -a, --app=<value>              (required) app to run command against
  -r, --remote=<value>           git remote of app to use
      --addon=<value>            unique name or ID of an AppLink add-on
      --connection_name=<value>  name of the Salesforce connection

DESCRIPTION
  list Salesforce orgs the app is published to

See code: src/commands/salesforce/publications.ts

heroku salesforce:publish API_SPEC_FILE_DIR

publish an app’s API specification to an authenticated Salesforce org

USAGE
  $ heroku salesforce:publish API_SPEC_FILE_DIR -a <value> -c <value>
    --connection-name <value> [--addon <value>] [--authorization-connected-app-name <value>] [--authorization-permission-set-name <value>] [--metadata-dir
    <value>] [-r <value>]

ARGUMENTS
  API_SPEC_FILE_DIR  path to OpenAPI 3.x spec file (JSON or YAML format)

FLAGS
  -a, --app=<value>                                (required) app to run command
                                                   against
  -c, --client-name=<value>                        (required) name given to the
                                                   client stub
  -r, --remote=<value>                             git remote of app to use
      --addon=<value>                              unique name or ID of an AppLink
                                                   add-on
      --authorization-connected-app-name=<value>   name of connected app to create
                                                   from our template
      --authorization-permission-set-name=<value>  name of permission set to create
                                                   from our template
      --connection-name=<value>                    (required) authenticated
                                                   Salesforce connection name
      --metadata-dir=<value>                       directory containing connected
                                                   app, permission set, or API spec

DESCRIPTION
  publish an app's API specification to an authenticated Salesforce org

See code: src/commands/salesforce/publish.ts

Keep reading

  • Heroku AppLink Reference

Feedback

Log in to submit feedback.

Heroku AppLink Logging and Common Errors Heroku AppLink Limits

Information & Support

  • Getting Started
  • Documentation
  • Changelog
  • Compliance Center
  • Training & Education
  • Blog
  • Support Channels
  • Status

Language Reference

  • Node.js
  • Ruby
  • Java
  • PHP
  • Python
  • Go
  • Scala
  • Clojure
  • .NET

Other Resources

  • Careers
  • Elements
  • Products
  • Pricing
  • RSS
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku Blog
    • Heroku News Blog
    • Heroku Engineering Blog
  • Twitter
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku
    • Heroku Status
  • Github
  • LinkedIn
  • © 2025 Salesforce, Inc. All rights reserved. Various trademarks held by their respective owners. Salesforce Tower, 415 Mission Street, 3rd Floor, San Francisco, CA 94105, United States
  • heroku.com
  • Legal
  • Terms of Service
  • Privacy Information
  • Responsible Disclosure
  • Trust
  • Contact
  • Cookie Preferences
  • Your Privacy Choices