Skip to main content

Customers

When we reference customers, we're talking about your customers. Your organization creates customers and integrations in Prismatic. Then, your customers can either enable instances of your integrations themselves through your integration marketplace, or your team members can deploy instances to them. You can create users for your customers and assign them roles so that they can manage and have insight into the instances that are deployed to them.

Simple diagram of an org and customers

Like all Prismatic resources, customers can be managed via Prismatic's CLI tool, prism, or through the web app by clicking the Customers link on the left-hand sidebar.

List of customers in Prismatic app

Creating new customers

After clicking on the Customers link on the left-hand sidebar, click the + Add Customer button on the upper-right. Enter an appropriate name and description for your customer.

Add customer in Prismatic app

Searching customers

After clicking the Customers link on the left-hand sidebar, you can enter a portion of a customer's name into the search bar to filter customers by name. To filter customers by description, external ID, or label instead, click the Filter button to the right of the search bar.

Search customer in Prismatic app

Modifying customers

After clicking the Customers link on the left-hand sidebar, you will be presented with a list of your customers.

Clicking the name of any customer will bring you to the customer's page. This page contains a menu with options to manage instances assigned to the customer, alert monitors, logs, customer users, and file attachments.

From the customer's page, click into the Details tab on the top of the page to change the customer's name or modify the longer customer description. To modify the customer's avatar icon, click the Upload a photo link on the Details tab. The avatar icon you upload will be resized and cropped to 500 x 500 pixels. Transparent PNG images tend to look the best.

Edit customer details in Prismatic app

Customer labels

Labels help you keep your customers organized. You can assign any number of labels to a customer from the customer's summary tab, and can then search for customers by label. Note: for consistency, labels are always lower-cased.

Search customers by label in Prismatic app

Deploying instances to a customer

An instance of an integration is a versioned copy of an integration that is configured and deployed to a specific customer. Config variables that are unique to the customer can be applied to an instance.

For more information on attaching config variables, see the instances page.

From the customer's page select the Instances tab. There, you will see any instances currently deployed to your customer, with information on when they were last run, what versions are deployed, etc.

To deploy a new instance, click the + Add instance button on the top-right corner. Select the integration you wish to deploy, and give the instance an appropriate name and description.

Deploy instance to a customer in Prismatic app

Once the instance is created, you will be prompted to configure any config variables required by the integration.

For More Information: Instances

Managing alert monitors

Alert monitors allow you to send alerts to your team when an alert trigger fires on an instance.

For example, you may want to your DevOps team to be alerted via text message when an instance fails to run, or you may want your project management team to be emailed when an instance is enabled.

From the customer's page select the Monitors tab. There, you will see any monitors currently deployed to your customer, with information on if/when it was last triggered, which instance it is associated with, and what triggers the monitor.

Alert monitors list for customer in Prismatic app

To deploy a new monitor, click the + Add alert monitor button on the top-right corner. Give the monitor a name and and select the trigger that will activate this alert. The alert will be linked to the current instance.

Add alert monitor in Prismatic app

After creating the new monitor, select the users to alert or webhooks to invoke when the monitor is triggered from the Details tab. You can add additional triggers that will trigger an alert. When you are finished editing the alert, be sure to click Save to save your changes.

Alert monitors for an instance in Prismatic app

For More Information: Alert Monitors

Accessing customer logs

At Prismatic we believe verbose and searchable logs are critical to any software ecosystem. Logs of all instance invocations are stored for all customers, and are searchable and filterable.

To access logs of instances for a specific customer, open the customer's page and select the Logs tab.

Access customer instance logs in Prismatic app

You can search log messages using the search bar on the top of the page.

Search customer instance logs in Prismatic app

Logs can be filtered by clicking the Filter button to the right of the search bar. You can filter logs by:

  • Log Type
  • Log Severity
  • Date/Time Range
  • Integration
  • Version
  • Instance
Filter customer instance logs in Prismatic app

Clicking on a log line will open a pane with the full message of the log.

Customer instance log entry details in Prismatic app

For More Information: Logging, Log Retention, Logging from Custom Components

Viewing instance execution results

It's useful for debugging purposes to be able to see execution results of instance invocations. Click the Executions tab from a customer's page to see the logs and step outputs of all instances deployed to that customer.

Logs and step outputs for customer instances in Prismatic app

Managing customer users

Customer users are users at your customer locations who have access to instances deployed to them. Depending on the role you assign to the user, the user might have read or write access to their instances. That means that you can grant permission to your customers to update instances that are deployed to them, so they can do things like update config variables to third-party APIs without needing you to intervene.

Customer users' accounts are limited in scope. They cannot view instances belonging to your other customers, nor see organization-level resources.

Users for your customers are managed by opening a customer's page and selecting the Users tab.

Manage customer users in Prismatic app

New users can be added by clicking the + Add user button. Enter the user's name and email address and give the user an appropriate role. More information about customer user roles can be found on the users page.

Add customer user in Prismatic app

When users are added, they receive an email confirmation that will prompt them to log in and set their password and optional phone number.

Edit customer user in Prismatic app

To delete a user, select the user from the Users tab. Click the Delete user on the bottom of the page.

For More Information: Users

Using customer attachments

Attachments are a place to store documents that both customers and your team members can reference. After opening a customer's page select the Attachments tab.

Documents can be added using the +Add attachment button, and deleted by clicking the icon.

Add attachments to customers in Prismatic app

Deleting customers

Deleting a Customer is Permanent

When a customer is deleted, all associated users, and instances are also deleted. Use caution when deleting customers.

After clicking on the Customers link on the left-hand sidebar, click the name of the customer you would like to delete, and then select the Details tab.

Verify that the name shown matches the customer you wish to delete, and click the Delete customer button. Confirm your choice by typing the customer name exactly, and then click Remove customer.

Delete customer in Prismatic app

Customer external IDs

A customer can be assigned an External ID - a unique identifier from an external system. So, if you know "Smith Rocket Company" as a customer with an ID of abc-123 in another system you use, you can assign "Smith Rocket Company" in Prismatic the externalId of abc-123. This is helpful if you need to quickly look up or associate customers in Prismatic with customers in your external system.

External IDs can be set programmatically (see the next section), or can be edited within the Prismatic we app by clicking the Customers link on the left-hand sidebar, selecting a customer, and then clicking on the Details tab.

Set customer external IDs in Prismatic app

External IDs are required if you want to route webhook requests to instances deployed to specific customers using shared webhook triggers.

Sync customers from an external system programmatically

If you use a customer management tool to keep track of your customers, like Salesforce or another tool specific to your company or industry, you can use Prismatic's API to programmatically sync customers from your external tool to Prismatic.

In addition at a name and description, a customer created through the createCustomer mutation can be assigned an externalId, so that you can match customers in Prismatic to customers saved in other systems.

See our Syncing Customers to Prismatic quickstart guide for an example of how to sync customers to Prismatic using our API.