Loomi Connect setup

This guide provides an overview of the Loomi Connect framework’s setup. It shows the architecture and key components that work together to deliver the conversational commerce experience through ChatGPT.

Prerequisites

Before you start, you need:

  • Bloomreach Discovery account: Active subscription with API access credentials.
  • OpenAI paid development instance: Required for ChatGPT App SDK access.
  • Development environment: Python 3.8+ or Node.js 16+ for MCP server development.
  • Discovery Search API knowledge: Familiarity with the Bloomreach Discovery Product and Category Search API.

Architecture overview

Loomi Connect uses a three-tier architecture where the MCP server acts as middleware between ChatGPT and Bloomreach Discovery:

Data flow

  1. Shopper asks a question: User has a natural conversation with ChatGPT about products.
  2. ChatGPT interprets intent: ChatGPT extracts key information and decides to call your app.
  3. MCP server translates: Your server converts the natural language into Discovery API parameters.
  4. Discovery API returns results: Bloomreach Discovery searches your catalog with structured parameters.
  5. MCP server formats response: Server transforms Discovery results for ChatGPT.
  6. ChatGPT presents products: The app shows products in a natural, conversational format.
Loomi Connect architecture overview

Loomi Connect architecture overview

Key components

To learn about the configuration and file structure of a ChatGPT app project, refer to the OpenAI Apps SDK examples repository on GitHub.

Given below are the key components of an app created through Loomi Connect:

  • ChatGPT app: Handles user conversation and interface.
  • MCP server: Translates between ChatGPT and Discovery, maintains session context.
  • Discovery APIs: Provide product search, filtering, ranking, and Discovery’s tracking capabilities.
  • Product catalog: Your ecommerce product data indexed in Bloomreach Discovery.