Getting Started

Learn how to build amazing websites with Star AI

Quick Start

  1. Create an account - Sign up for free at starai.pages.dev/signup
  2. Choose a template or start from scratch - Browse our template library or use the AI to generate a custom design
  3. Customize with AI - Use natural language to modify your website. Just describe what you want!
  4. Export and deploy - Download your website as a ZIP file or deploy directly to our CDN

Phase 2: Adding AI Backend

For Phase 2 integration, you'll need to set up a server-side proxy to handle API calls securely.

// Example Node.js/Express proxy
const express = require('express');
const app = express();

app.post('/api/generate', async (req, res) => {
  const response = await fetch('https://api.openai.com/v1/chat/completions', {
    method: 'POST',
    headers: {
      'Authorization': `Bearer ${process.env.OPENAI_API_KEY}`,
      'Content-Type': 'application/json'
    },
    body: JSON.stringify(req.body)
  });
  const data = await response.json();
  res.json(data);
});

IMPORTANT: Never expose API keys in client-side JavaScript. Always use a server-side proxy.

System Prompts

See prompts.md for the 6 system prompts used for AI generation. You can customize these for your needs.