Agent Auth Payments
Description
fullstack chat agent with authentication, request credits and payments built in
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Agent with Auth and Payments Repo
A monorepo containing a Agent with Auth and Payments application with LangGraph agents and Next.js UI.
🏗️ Architecture
This monorepo contains two main applications:
apps/web- Next.js chat UI application with LangGraph integrationapps/agents- LangGraph.js ReAct agents backend
🚀 Quick Start
Terminal Tab 1:
# Clone the repo
git clone https://github.com/langchain-ai/agentic-saas-template.git```
# **Environment Files**: Copy the `.env.example` files to `.env` and fill in credentials
cp apps/web/.env.example apps/web/.env
cp apps/agents/.env.example apps/agents/.env
# Install dependencies for all apps
pnpm install
# Start development servers for both apps
pnpm dev
🗄️ Database Setup
- Database Schema: Copy and paste
supabase-schema.sqlin your Supabase SQL Editor
What gets set up:
- ✅ Users table with Stripe integration
- ✅ Row Level Security (RLS) policies
- ✅ Automatic user profile creation
- ✅ Performance indexes and triggers
Terminal Tab 2: Stripe Webhook (for purchases + credits)
stripe listen --events customer.subscription.created,customer.subscription.updated,customer.subscription.deleted --forward-to localhost:3000/api/webhooks/stripe
## add stripe webhook key to apps/web/.env
STRIPE_WEBHOOK_SECRET=""
You're ready to use the app!
Use the App
1. Open localhost:3000
2. Sign up -> confirm email
3. login
4. pricing page --> purchase credits
a. should see stripe events in Terminal Tab 3
5. should see success page, new credits added
6. back to home, chat with app, credits get deducted
📦 Package Management
This monorepo uses **pnpm workspaces** for efficient dependency management and task orchestration.
Available Scripts
Root Level Commands
# Development
pnpm dev # Start all apps in development mode (parallel)
pnpm build # Build all apps
pnpm lint # Lint all ap
Related Skills
prompts.chat
| f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open sourc
Communication Internal Comms
Write internal communications like status reports, newsletters, and FAQs
Communication mcp-server-slack
Slack workspace integration.
Communication Google Workspace Groups Settings
Manage Google Groups settings
Communication Open Saas
A 100% free modern JS SaaS boilerplate (React, NodeJS, Prisma). Full-featured: Auth (email, google, github, sl
slack
| Communication | Slack integration via HTTP/OAuth MCP |
Communication