Quickstart
Setting up your Agentic SaaS
This guide will walk you through the process of setting up your own Agentic SaaS business using our starter template.
Having a properly configured development environment is crucial for building, testing, and deploying your Agentic SaaS efficiently.
The template comes with example agents you can use as a baseline for your own custom AI solution.
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
Head over to account setups for help with prerequisites.
Time to Complete: 30 mins - 2 hrs
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. Create a new project directory
2. Set up your Repository
Create a new repository from the Full-Stack Template: FS Template
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:
Also update the sst.config.ts
file with your app name.
Environment Variables
SST uses SNAKE_CASE for environment variables. For more information, see the SST Environment Variables documentation.
If you find this template helpful, please consider giving it a star on GitHub!
Install the dependencies:
3. Start your development environment
Set AWS Profile
Export your AWS profile for the account you want to deploy to:
Load Environment Secrets
Load your development environment secrets:
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.
Access Your Application
Your application will be available at:
- Frontend: http://localhost:3000
- API: https://dev-api.yourdomain.com
Sign up through the frontend to start testing your AI agent.