← All tools

@prismatic-io/prism

Popularity 65 Updated Development & Build

Build, deploy, and support integrations in Prismatic from the comfort of your command line

npmauto-collected

Installation

npm
npm install -g @prismatic-io/prism

Install with npm.

<div align="center" <img src="https://prismatic.io/favicon-48x48.png" / <h1@prismatic-io/prism</h1 </div

Prism is Prismatic's CLI tool that allows you to build, deploy, and support integrations in Prismatic from the comfort of your command line.

Using Prism

Prism is a NodeJS package, so it requires NodeJS and NPM to be installed. You can download both from the NodeJS Website. Prism works on MacOS, Linux, Windows and WSL.

Once node and npm are installed, run this to install Prismatic's CLI tool:

$ npm install --global @prismatic-io/prism

This will install the prism command globally. To log in, run:

$ prism login

You can then see your login information with:

$ prism me
Name: John Doe
Email: john.doe@example.com
Organization: Example Software Company
Endpoint URL: https://app.prismatic.io
Profile: default

Profiles

Profiles let Prism stay logged in to multiple stacks or tenants at once. Each profile keeps its credentials, stack, and tenant together. Commands use the default profile unless another is selected.

Existing Prism configuration is used automatically and migrated to the profile format the next time Prism updates it.

# Log in to a profile on another stack.
$ PRISMATIC_URL=https://my-stack.prismatic.io prism login --profile staging

# Select a profile for one command or the current shell.
$ prism integrations:list --profile staging
$ export PRISM_PROFILE=staging

# View, change, or delete saved profiles.
$ prism profiles:list
$ prism profiles:use staging
$ prism profiles:delete staging

Prism selects a profile from --profile, then PRISMPROFILE, then the saved default. Environment credentials take precedence over credentials stored in the selected profile. When environment credentials are set, they use PRISMATICURL and PRISMATICTENANTID instead of values from a profile. Login, logout, and tenant switching still operate on the selected profile.

For help with Prism, please see our Prism documentation page. There, you will find information about the various subcommands you can run, troubleshooting tips, etc.

What is Prismatic?

Prismatic is the leading embedded iPaaS, enabling B2B SaaS teams to ship product integrations faster and with less dev time. The only embedded iPaaS that empowers both developers and non-developers with tools for the complete integration lifecycle, Prismatic includes low-code and code-native building options, deployment and management tooling, and self-serve customer tools.