To start using the Pipedream CLI, you’ll need to link it to your Pipedream account. If you don’t have a Pipedream account, you can sign up from the CLI.
If you already have a Pipedream account, run
This will open up a new window in your default browser. If you’re already logged into your Pipedream account in this browser, this will immediately link the CLI to your account, writing your API key for that account to your pd
config file.
Otherwise, you’ll be asked to login.
Once you’re done, go back to your shell and you should see confirmation that your account is linked:
Then follow this guide to learn how to find your workspace ID and associate it with a pd
profile.
If you haven’t signed up for a Pipedream account, you can create an account using the CLI:
This will open up a new window in your default browser. You’ll be asked to sign up for Pipedream here. Once you do, your account will be linked to the CLI, writing your API key for that account to your pd
config file.
Once you’re done, go back to your shell and you should see confirmation that your account is linked:
You can log out of the CLI by running:
This will remove your API key from the pd
config file.
If you have multiple Pipedream accounts, you can use profiles to ensure the CLI can manage resources for each.