Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.tybritelabs.com/llms.txt

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

Fast Track to Galactic Commerce

Get your commerce backend running in three steps using the Tybrite API or TypeScript SDK.

Step 1: Obtain your API Keys

Before you can make any requests, you need to authorized your application.
Login to the Tybrite Dashboard and navigate to Settings > API Keys.You will find two types of keys:
  • Publishable Key (tybrite_pk_...): Used for frontend applications (Web/Mobile).
  • Secret Key (tybrite_sk_...): Used for backend services and administrative tasks.
Never include your Secret Key in client-side code. Use Publishable Keys for search and product browsing, and Secret Keys for checkout and accounting from your server.

Step 2: Initialize the SDK or REST Client

Choose your preferred way to interact with Galactic Core.
import { Tybrite } from '@tybrite-labs/sdk';

const client = new Tybrite({
  apiKey: 'tybrite_pk_live_your_key'
});

Step 3: Make your first request

Retrieve your product catalog to verify your connection.
const { products } = await client.products.listProducts({ limit: 5 });

console.log(`Found ${products.length} products!`);

Next Steps

Explore the core pillars of the Tybrite ecosystem:

Authentication Guide

Learn about session management and HMAC security.

Core Commerce

Master products, orders, and customer management.

Discovery

Implement AI-powered search and recommendations.

API Reference

Browse the full REST API documentation.
Pro Tip: Use the fields parameter in your requests to optimize for mobile performance and reduce bandwidth.