This guide walks you through making a Point of Sale app callable by the Cofounder Agent. By the end, the Cofounder will be able to pull sales reports, check inventory, look up orders, and more — all through conversation.Documentation Index
Fetch the complete documentation index at: https://docs.stardeck.ai/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- A POS app built on Stardeck with data you want to expose (products, orders, sales)
- The app should be published to production or have a running sandbox
Step 1: Ask the Agent to Expose APIs
Open your POS app’s project chat and tell the agent what you want other apps to be able to do. You don’t need to specify routes, parameters, or technical details — the agent designs all of that.Step 2: Test from the Project Chat
Before involving other apps, you can test your new endpoints right from the project chat. The project agent can make cross-app calls to your own app’s API:Step 3: Enable Cross-App Access
Go to your POS app’s Settings tab and open the Cross-App section. Option A: Allow all apps (quickest) Toggle on Allow all apps to call this project. This lets the Cofounder Agent (and any other app in the org) make GET requests to your POS endpoints. Since the endpoints are read-only, this works well. Option B: Explicit grant (more control) If you want to restrict access or allow write methods later, create an explicit grant instead. You’ll select which apps can call your POS app and which HTTP methods they’re allowed to use.Configure Agent Environments
Under Agent Callable Environments, choose which environments the Cofounder Agent can target:- Sandbox only — good while you’re still building and testing endpoints
- Both — once your endpoints are stable and you want the agent to query live production data
Step 4: Talk to the Cofounder
Open the Cofounder Agent from your organization dashboard. You can now ask it to query your POS app: Check today’s sales:“How much revenue did the POS app make today?”Investigate inventory:
“What products in the POS app are running low on stock?”Look up a specific order:
“Look up order ORD-2847 in the POS app”Get a business summary:
“Give me a sales summary from the POS app for last week — total revenue, number of orders, and average order value”Cross-reference with another app:
“Compare this week’s POS sales to last week’s, and if revenue dropped more than 10%, create a task in the project management app to investigate”The Cofounder Agent will discover the available endpoints, make the appropriate calls, and present the data back to you in the conversation.