Add shopping to any conversation
An embedded UI SDK that lets consumer chat apps offer product discovery and a complete checkout flow — without leaving the conversation.
Product Cards
Send a text chunk and render rich product cards with detail sheets, delivery estimates, and one-tap purchase actions — all inline.
Hosted Checkout
Collect shipping and payment through a fully hosted flow. Receive an order confirmation and receipt URL when complete.
Session Tokens
Mint short-lived tokens scoped to a single conversation. Your backend exchanges a private API key — no secrets on the client.
Multi-Platform SDKs
Native SDKs for Web, React Native, SwiftUI, and Jetpack Compose. On mobile, an embedded web runtime handles UI with a native event bridge.
Minimum integration
Three steps to a full in-chat shopping experience.
Mint a session token
Your backend calls POST /v1/sessions with your private API key to get a short-lived sessionToken scoped to one conversation.
POST /v1/sessions
Authorization: Bearer <API_KEY>
{
"conversationId": "chat_7F1E3A",
"userId": "u_3921",
"environment": "sandbox"
}{
"sessionToken": "sesh_sandbox_7p1n9GJxQk3vK"
}Render Product Cards
Pass the latest user message text to ProductCards. The SDK handles product discovery, detail sheets, and delivery estimates automatically.
Handle checkout events
Listen for checkout.completed events and post the receipt back into the conversation thread. That's it — three steps to a full shopping experience.
Choose your platform
Native SDKs for every major platform. On mobile, an embedded web runtime handles UI with a native event bridge.
npm install @nohi/agentic-shoppingimport { Nohi } from "@nohi/agentic-shopping";
Nohi.configure({ sessionToken });
const cards = Nohi.ProductCards.mount("#nohi-cards", {
text: latestMessageText,
onEvent(event) {
if (event.type === "checkout.completed") {
console.log(event.orderId, event.receiptUrl);
}
},
});
// Update cards when the message changes
cards.update({ text: nextMessageText });API Reference
RESTful endpoints with JSON responses. Base URL: https://api.nohi.dev
/v1/sessionsExchange API key for a short-lived session token scoped to one conversation/v1/productsDiscover products based on text intent, returns product cards with detail sheets/v1/checkoutInitiate a hosted checkout flow, collect shipping and payment/v1/orders/{orderId}Retrieve order confirmation and receipt URL/v1/webhooksRegister webhook endpoints for checkout.completed and other eventsReady to build?
Get your API key and add agentic shopping to your chat app today. Sandbox environment included.
Get your API key