Quickstart
1. Install the CLI
Section titled “1. Install the CLI”npm install -g @saas-maker/cli2. Log in
Section titled “2. Log in”fnd loginOpens your browser for Google OAuth. Your session token is saved to ~/.foundry/config.json.
3. Create a project
Section titled “3. Create a project”fnd projects createFollow the prompt to name your project. This generates a unique API key (starts with pk_).
4. Link your app directory
Section titled “4. Link your app directory”cd ~/my-appfnd initSelect your project from the list. This creates a foundry.json config in your project root.
5. Check your setup
Section titled “5. Check your setup”fnd keys # show your API keyfnd status # show project stats6. Integrate the SDK
Section titled “6. Integrate the SDK”npm install @saas-maker/sdkimport { SaaSMakerClient } from '@saas-maker/sdk';
const client = new SaaSMakerClient({ apiKey: 'pk_your_api_key', baseUrl: 'https://api.sassmaker.com',});
await client.feedback.submit({ title: 'Add dark mode', description: 'Would love a dark mode option', type: 'feature', submitter_email: 'user@example.com',});Or use curl directly:
curl -X POST https://api.sassmaker.com/v1/feedback \ -H "Content-Type: application/json" \ -H "X-Project-Key: pk_your_api_key" \ -d '{ "title": "Add dark mode", "description": "Would love a dark mode option", "type": "feature", "submitter_email": "user@example.com" }'Next steps
Section titled “Next steps”- CLI reference — all CLI commands
- Authentication — understand API keys vs session tokens
- Feedback — full feedback API reference
- JavaScript SDK — all available SDK methods