What prerequisites do you need?
- Code Editor (Cursor AI, Windsurf, VSCode, etc)
- MacOS or Linux Based OS
- Node.js 20+
- Package Manager (Bun, Yarn, NPM, PNPM, etc)
- Dedicated Development AWS Account with AWS SSO
- Github Account
- Stripe Account
- Clerk Account
- Unkey Account
- Cloudflare Account
Building your own Agentic SaaS requires an intermediate level of experience with programming and cloud development.
If you need help getting started or have questions, join the Community where you can get more access to more support and resources to get you up to speed.
1. Set up your Repository
Create a new repository from the Full-Stack Template: FS TemplateIf you find this template helpful, please consider giving it a star on GitHub!
sst.config.ts
file with your app name.
2. Install the dependencies
Install the dependencies:3. Environment Variables
SST uses camelCase for environment variables. For more information, see the SST Environment Variables documentation. The repository will have a.env.template
file that you can use to set your environment variables. Change the .env.template
file to .env.local
and update the variables:
4. Start your development environment
1
Set AWS Profile
Export your AWS profile for the account you want to deploy to:
2
Load Environment Secrets
Load your development environment secrets:
3
Start Development Environment
Start the development environment:This will start both your API and frontend in development mode. The first deployment may take a few minutes as it creates DNS records.
4
Access Your Application
Your application will be available at:
- Frontend: http://localhost:3000
- API: https://dev-api.yourdomain.com