Skip to main content

Quick Start Guide

Get up and running with Studley AI in just a few minutes. This guide will walk you through creating your account, exploring the dashboard, and generating your first study material.
This guide is for users of the hosted Studley AI platform. If you’re looking to self-host, check out our Installation Guide.

Prerequisites

All you need is:
  • A valid email address
  • A modern web browser (Chrome, Firefox, Safari, or Edge)
  • An internet connection

Step 1: Create Your Account

Head to the Studley AI platform and create your free account.
1

Navigate to Sign Up

Click the “Sign Up” button in the top navigation or go directly to /signup.
2

Enter Your Information

Fill out the registration form with:
  • Email: Your email address
  • First Name: Your first name
  • Last Name: Your last name
  • Password: Choose a secure password (minimum 6 characters)
3

Submit & Verify

Click “Create Account” and you’ll receive a welcome email. Your account is ready to use immediately!

Account Creation Code

Here’s what happens behind the scenes when you sign up:
// Signup API endpoint - app/api/auth/signup/route.ts
const { email, firstName, lastName, password } = await request.json()

// Validate password length
if (password.length < 6) {
  return NextResponse.json(
    { error: "Password must be at least 6 characters" },
    { status: 400 }
  )
}

// Create user with Supabase Auth
const { data, error } = await supabase.auth.signUp({
  email,
  password,
  options: {
    data: {
      first_name: firstName,
      last_name: lastName,
    },
  },
})

// Insert user profile
if (data.user) {
  await supabase.from('users').insert({
    id: data.user.id,
    email: email,
    first_name: firstName,
    last_name: lastName,
    name: `${firstName} ${lastName}`,
    created_at: new Date().toISOString()
  })
  
  // Send welcome email
  sendWelcomeEmail(email, firstName)
}
Keep your password secure and don’t share it with anyone. Studley AI will never ask for your password via email.

Step 2: Explore Your Dashboard

Once logged in, you’ll land on your personalized dashboard.

Dashboard Features

Credit Balance

View your current credit balance. You start with 5,000 credits - enough for 250 generations!

Quick Actions

Access all generators with one click. Choose from Quiz, Flashcards, Essay Grader, and more.

Recent Activity

See your recently generated study materials and pick up where you left off.

Library

Browse all your saved quizzes, flashcards, and study materials in one place.

Dashboard Layout

// Dashboard structure - app/dashboard/page.tsx
export default function DashboardPage() {
  const [user, setUser] = useState<any>(null)
  
  // Fetch authenticated user
  const supabase = createClient()
  const { data: { user: authUser } } = await supabase.auth.getUser()
  
  // Fetch user profile from profiles table
  const { data: profileData } = await supabase
    .from('profiles')
    .select('id, full_name, first_name, last_name, avatar_url')
    .eq('id', authUser.id)
    .maybeSingle()
  
  return (
    <UnifiedDashboard 
      user={user} 
      onOpenGenerator={() => setShowGenerator(true)} 
    />
  )
}

Step 3: Choose Your Generator

Studley AI offers multiple AI-powered generators. Let’s start with the Quiz Generator.

Available Generators

Perfect for: Test preparation, self-assessment, practiceFeatures:
  • Multiple choice questions
  • Instant feedback and explanations
  • Adjustable difficulty levels
  • Topic-based generation
Cost: 20 credits per quizUse Cases:
  • Test your understanding of a topic
  • Practice for exams
  • Group study sessions
  • Quick knowledge checks

Generator Configuration

// Generator configuration - lib/generators-config.ts
export const generators = [
  {
    id: "quiz-generator",
    name: "Quiz Generator",
    slug: "quiz-generator",
    description: "Create customized quizzes instantly with AI-powered generation",
    shortDescription: "Generate quizzes from any topic",
    icon: "BookOpen",
    category: "Learning",
    toolPath: "/tools/quiz-generator",
    features: ["Multiple choice questions", "Instant feedback", "Adjustable difficulty"],
    useCases: ["Test your understanding", "Practice for exams", "Group study sessions"],
    buttonText: "Make a Quiz",
  },
  {
    id: "flashcard-generator",
    name: "Flashcard Generator",
    slug: "flashcard-generator",
    description: "Create beautiful flashcards to master any subject with AI",
    icon: "Card",
    category: "Memorization",
    toolPath: "/tools/flashcard-generator",
    buttonText: "Make Flashcards",
  },
  // Additional generators...
]

Step 4: Generate Your First Quiz

Let’s create your first AI-generated quiz!
1

Navigate to Quiz Generator

From your dashboard, click on the Quiz Generator card or navigate to /tools/quiz-generator.
2

Enter Your Topic

Type in any subject or topic you want to study. Examples:
  • “World War II”
  • “Photosynthesis”
  • “JavaScript Functions”
  • “Spanish Vocabulary - Food”
The more specific your topic, the better the results!
3

Customize Settings (Optional)

Adjust the quiz parameters:
  • Number of Questions: Choose how many questions (typically 5-20)
  • Difficulty Level: Easy, Medium, or Hard
  • Question Types: Multiple choice, true/false, etc.
4

Generate Your Quiz

Click the “Generate Quiz” button. Your quiz will be ready in seconds!
This will deduct 20 credits from your balance. You’ll see the updated credit count immediately.
5

Start Studying!

Your AI-generated quiz is ready. You can:
  • Take the quiz immediately
  • Save it to your library
  • Share it with classmates
  • Export it for offline use

Credit Deduction Process

Here’s how credits are managed atomically:
// Credit management system ensures fair usage
const GENERATION_COST = 20

// Atomic credit deduction
async function deductCredits(userId: string, amount: number) {
  const { data, error } = await supabase
    .from('users')
    .update({ credits: sql`credits - ${amount}` })
    .eq('id', userId)
    .select('credits')
    .single()
  
  // Log credit usage
  await supabase.from('credit_usage').insert({
    userId,
    amount: -amount,
    type: 'generation',
    description: 'AI content generation',
    createdAt: new Date().toISOString()
  })
  
  return data.credits
}
If you don’t have enough credits, you’ll be prompted to manage your usage or upgrade your plan. Generations won’t proceed without sufficient credits.

Step 5: Study and Practice

Now that you have your study material, it’s time to learn!

Study Features

Interactive Mode

Answer questions and get instant feedback with explanations.

Review Mode

Review all questions and answers without taking the quiz.

Progress Tracking

See your scores and track improvement over time.

Save & Export

Save to your library or export as PDF for offline study.

Taking Your Quiz

// Quiz interaction features
- Click through questions at your own pace
- Select your answer and get instant feedback
- See explanations for correct and incorrect answers
- Track your score in real-time
- Review missed questions at the end

Next Steps

Congratulations! You’ve created your first AI-generated study material. Here’s what to explore next:

Try Other Generators

Explore Flashcards, Essay Grader, and Writing Prompts to enhance your learning.

Build Your Library

Save study materials to your library for quick access anytime.

Track Your Progress

Monitor your quiz scores and see your improvement over time.

Share with Friends

Collaborate by sharing quizzes and study materials with classmates.

Tips for Success

1

Be Specific with Topics

The more detailed your topic input, the better your results. Instead of “biology”, try “mitochondria and cellular respiration”.
2

Start with Easy Difficulty

Build confidence by starting with easier quizzes, then gradually increase difficulty.
3

Review Explanations

Don’t just look at right/wrong answers - read the AI-generated explanations to deepen understanding.
4

Use Multiple Generators

Combine quizzes with flashcards for comprehensive learning. Different tools reinforce knowledge in different ways.
5

Study Regularly

Consistent practice is key. Generate new materials regularly to keep learning fresh.

Troubleshooting

Check your spam folder. If you still don’t see it, you can log in immediately - email verification isn’t required to use the platform.
AI generation typically takes 5-10 seconds. If it’s taking longer:
  • Check your internet connection
  • Refresh the page and try again
  • Try a simpler topic or fewer questions
You can:
  • Review your existing study materials (free)
  • Check your usage history in the dashboard
  • Manage your credit allocation
  • Contact support for assistance
Make sure your topic is:
  • Specific and clear
  • Written in proper English
  • A real subject (not nonsense text)
Try regenerating with a more detailed topic description.

Need Help?

If you run into any issues or have questions:
  • Check our FAQ for common questions
  • Visit the Documentation for detailed guides
  • Contact our support team via email
  • Join our community for tips and discussions
Happy studying with Studley AI!

Build docs developers (and LLMs) love