Connect-a-platform prompt
Paste this into Claude Code or Codex, opened in the repository you want to connect. Fill in the angle brackets.
Connect this application to TechTur POS.
Context
- This app is <name>. Its users who should reach POS are <e.g. sellers / shop owners / staff>.
- Integration type: <TechTur platform connector (launch tickets) | third-party app (OAuth per business) | single business (API key)>.
- Capabilities wanted: <identity, products to POS, inventory from POS, orders to POS, metrics>.
- Sandbox credentials are in .env as TECHTUR_POS_BASE_URL, TECHTUR_POS_CLIENT_ID, TECHTUR_POS_CLIENT_SECRET, TECHTUR_POS_WEBHOOK_SECRET. Do not print them.
Rules
- Follow https://pos.techtursolutions.com/developers/docs/AI_AGENT_INTEGRATION_GUIDE step by step.
- Use only operations in https://pos.techtursolutions.com/developers/openapi.json and the @techtur-pos/sdk.
- Validate a techtur-pos.connector.json against https://pos.techtursolutions.com/developers/connector-manifest.schema.json.
- Never access POS databases, hard-code credentials, trust client-supplied tenant ids, link users by email, or bypass this app's existing business rules.
- POS owns physical stock. Never deduct stock locally for orders sent to POS.
- Every write uses externalRef or an idempotency key.
- Work on a new branch. Do not push or deploy.
Deliver
1. First, a written summary of this app's auth, tenant, catalogue, inventory and order models, and a proposed mapping. Wait for my approval.
2. Then the implementation with unit tests for the mapping and integration tests against the sandbox.
3. Finally, the completion report from the guide, including exact test commands and results.