Step-by-step tutorials to help you build AI features into your SaaS product.

Available Tutorials

Prerequisites

Before starting, make sure you have:

  1. ShipSafe AI-SaaS boilerplate set up
  2. API keys configured:
    OPENAI_API_KEY=sk-...
    ANTHROPIC_API_KEY=sk-ant-...  # Optional
    
  3. Basic Next.js knowledge - Understanding of React and API routes
  4. Firebase configured - Authentication and Firestore set up

Quick Start

The fastest way to get started:

  1. Set up API keys in .env.local
  2. Follow First AI Chat tutorial
  3. Test the chat endpoint
  4. Build your UI using the examples

Tutorial Structure

Each tutorial includes:

  • Step-by-step instructions - Clear, actionable steps
  • Code examples - Copy-paste ready code
  • Best practices - Tips and recommendations
  • Common pitfalls - What to avoid
  • Next steps - Where to go from here

Getting Help

If you get stuck:

  1. Check the AI Features documentation
  2. Review the API documentation
  3. Check error messages in the console
  4. Verify your API keys are set correctly

Next Steps

Start with the First AI Chat tutorial to build your first AI feature!