Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.omneo.io/llms.txt

Use this file to discover all available pages before exploring further.

The Omneo SDK is a JavaScript library that enables developers to build Omneo-powered experiences directly on websites and web applications. It provides authenticated profile access and low-level API methods for authenticated customers.

What the SDK enables

  • Authenticated profile access: securely identify a logged-in customer and load their Omneo profile data
  • Incentive display: surface reward balance, tier status, points, and benefits on the website
  • Interactive components: embed profile-driven UI (wishlists, transaction history, communication preferences) into the website
  • Real-time updates: profile data stays current as customers interact with the site
  • Custom experiences: build bespoke incentive and profile features using the SDK’s lower-level API methods

Authentication flow

The SDK requires an authenticated token to initialise. This is typically obtained via:
  1. Shopify Proxy: for Shopify stores, the proxy issues a token using the Shopify customer ID
  2. SFCC Proxy: for Salesforce Commerce Cloud sites
  3. OAuth: direct OAuth authentication for custom implementations
Once a token is obtained:
var omneoClient = OmneoSDK.init({
  url: 'https://api.[tenant].getomneo.com/id',
  token: '[omneo_id_token]',
  logging: true
})
For common usage patterns and code examples, see Using the Omneo SDK.