Logic Interface Setup in Composable Architecture

PleasedIris avatar
PleasedIris
·
·
Download

Start Quiz

Study Flashcards

10 Questions

What is meant by 'composable' in the context of architecture?

An architecture that allows users to create custom interfaces

What is the purpose of creating a new runtime API key in Logic's administrative interface?

To enable the creation of a composable interface

What is the significance of adding origins when creating a new runtime API key?

It specifies the URL or environment where the composable interface will be used

What is the next step after creating a new runtime API key in Logic's administrative interface?

To copy the token and use it in Postman application

What is the purpose of using the Postman application in this scenario?

To test the composable interface with Logic

What is the primary purpose of Postman?

To interface with various APIs and perform other activities

Where can you find the product ID value in Salesforce?

In the configurable products section

What is the purpose of the bearer token in Postman?

To authorize the API requests

What is the purpose of the 'initialize a new configuration post' in Postman?

To get an initial configuration and start configuring the chair

What is the purpose of the 'origin' header in Postman?

To specify the origin that was configured with the token

Study Notes

Setting up a Composable Interface with Logic

  • Composable architecture refers to a setup where users may not have Salesforce CPQ behind the scenes, and a custom interface is created to interact with Logic.

Creating a Runtime API Key

  • In Logic's administrative interface, go to Utilities > Runtime Clients to create a new runtime API key.
  • Give the key a name, e.g., "training", and add origins (e.g., URL website or local environment) to ensure secure access.
  • Save the key and copy the generated token.

Configuring Postman

  • Postman is a tool for interfacing with APIs and other activities from a desktop computer.
  • Download a Postman environment file and collection from Logic IO's page in Z-Way.
  • Configure Postman's environment by setting the base URL to match the API environment (e.g., api.demo01.logic.io).
  • Set the UUID, token, and tenant URL (matching the Salesforce tenant URL).
  • Ensure the environment file is updated and saved, and select the correct environment in the upper-right drop-down.

Initializing a New Configuration

  • In Postman, open the "Initialize a new configuration" post and review the settings.
  • The auth section includes the bearer token from the environment file.
  • The headers include the origin configured with the token.
  • The body contains default information, including the configured product ID, which can be obtained from Salesforce or a custom product ID.
  • The fields section includes variable names and values, which can be modified after sending the initial configuration.

Sending the Initial Configuration

  • Click the send button to initialize the configuration and receive the necessary information to start configuring the product (e.g., the reclining chair).

This quiz explores the setup of an interface with Logic in a composable type of architecture, specifically for custom interfaces and Salesforce CPQ integration.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free
Use Quizgecko on...
Browser
Browser