# sub3 examples Integration guide (read first): https://sub3.dev/llms.txt Create your handle and product in the dashboard first (sandbox: https://sub3.dev/sandbox/dashboard) Runnable Node app: https://sub3.dev/sandbox/examples/node/README.md Cloudflare Workers: https://sub3.dev/sandbox/examples/cloudflare/README.md Testing without a wallet (fake sub3 API): https://sub3.dev/sandbox/examples/testing/README.md Optional, advanced: automate setup with the CLI: https://sub3.dev/sandbox/examples/create-product.md The Node app covers wallet sign-in (popup and redirect), checkout links, GET /v1/access with a short cache, monthly allowance per cycle.id, upgrades, lifetime items, and credit packs fulfilled once from GET /v1/orders. Its rules name no item keys, so it runs with any product. Copy node/sub3.mjs (server) and node/public/sub3.js (browser) into your app; ledger.mjs is an example store. Files: https://sub3.dev/sandbox/examples/README.md https://sub3.dev/sandbox/examples/create-product.md https://sub3.dev/sandbox/examples/frameworks.md https://sub3.dev/sandbox/examples/cli/sub3.mjs https://sub3.dev/sandbox/examples/cli/package.json https://sub3.dev/sandbox/examples/cli/sub3.test.mjs https://sub3.dev/sandbox/examples/node/README.md https://sub3.dev/sandbox/examples/node/.env.example https://sub3.dev/sandbox/examples/node/package.json https://sub3.dev/sandbox/examples/node/config.mjs https://sub3.dev/sandbox/examples/node/sub3.mjs https://sub3.dev/sandbox/examples/node/ledger.mjs https://sub3.dev/sandbox/examples/node/sqlite.mjs https://sub3.dev/sandbox/examples/node/app.mjs https://sub3.dev/sandbox/examples/node/server.mjs https://sub3.dev/sandbox/examples/node/public/sub3.js https://sub3.dev/sandbox/examples/node/public/app.js https://sub3.dev/sandbox/examples/node/public/index.html https://sub3.dev/sandbox/examples/node/public/logo.svg https://sub3.dev/sandbox/examples/node/test/http.test.mjs https://sub3.dev/sandbox/examples/node/test/ledger.test.mjs https://sub3.dev/sandbox/examples/node/test/ledger-worker.mjs https://sub3.dev/sandbox/examples/testing/README.md https://sub3.dev/sandbox/examples/testing/fake-sub3.mjs https://sub3.dev/sandbox/examples/cloudflare/README.md https://sub3.dev/sandbox/examples/cloudflare/wrangler.jsonc https://sub3.dev/sandbox/examples/cloudflare/worker.mjs https://sub3.dev/sandbox/examples/cloudflare/package.json