Skip to main content
Early access — new tools and guides added regularly
🔴 Launch a Business — Guide 19 of 19
View track
>_ claude codeIntermediate25 min

Growth Hacking with AI: From 0 to 1000 Users

Build growth infrastructure — viral loops, referral systems, content engines, and analytics — to acquire your first 1000 users with AI assistance.

What you will build
A growth toolkit with referral system, content pipeline, landing page variants, and acquisition analytics
Prerequisites

The first 1000 users framework

Your first 1000 users are the hardest to get and the most important. They validate your product, provide feedback, and become your evangelists if you treat them right. Paid advertising at this stage is usually a mistake — you are paying to learn things you could learn for free by talking to potential users. Instead, focus on three channels: direct outreach (manually reaching people who have the problem you solve), content (creating value that attracts people organically), and viral mechanics (making it natural for users to invite others). Ask Claude Code: Create a Next.js project with TypeScript and Tailwind for a growth toolkit. This is not a standalone product — it is a set of growth features you will add to your existing product. Set up the project structure. src/lib/growth/ will contain the growth engines. src/app/api/growth/ will contain the API endpoints. src/components/growth/ will contain the UI components. Define the core types at src/types/growth.ts. Referral (id, referrerId, referredEmail, status as pending or signed_up or converted, referralCode, createdAt, convertedAt optional, rewardGranted boolean). GrowthEvent (id, userId, type as referral_sent or referral_converted or content_shared or viral_action, properties as JSON, timestamp). WaitlistEntry (id, email, referralCode unique, position, referredBy optional, referralCount, createdAt). AcquisitionChannel (name, users, cost, conversionRate, costPerAcquisition). The growth toolkit will have four components: a viral waitlist (for pre-launch), a referral system (post-launch), a content engine (ongoing), and acquisition analytics (measurement). Build them all — different stages of your growth will rely on different components. Ask Claude Code: Create a growth dashboard at src/app/admin/growth/page.tsx that shows all four components with their current metrics.

Building a viral waitlist

A viral waitlist turns signups into a growth engine. Each person who joins gets a referral link. The more people they refer, the higher they move on the waitlist. This creates urgency (limited spots) and incentive (skip the line by sharing). Ask Claude Code: Build a waitlist system at src/lib/growth/waitlist.ts. When someone signs up with their email, create a WaitlistEntry with a unique referral code (6 alphanumeric characters), set their position to the end of the list, and check if they were referred by someone (referral code in the URL). If referred, increment the referrer's referralCount and move them up the list. Position calculation: base position minus (referralCount times 10). Someone at position 500 with 5 referrals moves to position 450. Build the waitlist landing page. Ask Claude Code: Create a high-converting waitlist page at src/app/waitlist/page.tsx. The page has: a compelling headline about the product, a single email input with a Join the Waitlist button, social proof (X people already waiting), and a countdown or launch date. After signup, show a personalised referral screen. Ask Claude Code: Create the post-signup experience. Show: the user's position on the waitlist (You are number 347 out of 1,203), their unique referral link with a Copy button, share buttons for Twitter (pre-written tweet), LinkedIn, WhatsApp, and email, a progress bar showing referral milestones (1 referral: jump 10 spots, 3 referrals: guaranteed early access, 5 referrals: founding member status), and a leaderboard showing the top 10 referrers (first name and last initial only for privacy). Add email notifications. Ask Claude Code: Send automated emails at key moments: welcome email with the referral link immediately after signup, a nudge email 3 days later if no referrals (gentle reminder with sharing tips), a celebration email when they get their first referral, and a launch email when the product goes live (with early access for top referrers). Common error: fake signups inflate the waitlist. Add basic verification — send a confirmation email and only count confirmed emails. Do not count multiple signups from the same email domain in corporate environments as separate referrals.

Referral system for existing users

Once your product is live, a referral system turns happy users into growth agents. The best referral programs reward both the referrer and the referred — this creates a win-win that feels generous rather than transactional. Ask Claude Code: Build a referral system at src/lib/growth/referral.ts. Each user gets a unique referral code and a shareable referral link (yourapp.com/ref/abc123). When someone signs up through the link, track the referral chain: who referred whom, when, and what reward was earned. Define reward tiers. Ask Claude Code: Create a reward system with escalating incentives. Both sides get rewarded: the new user gets a bonus (extended trial, extra credits, or a discount) and the referrer gets a reward that increases with volume. First referral: 1 month free. Third referral: permanent 20 percent discount. Fifth referral: lifetime access to a premium feature. Tenth referral: custom reward (personally reach out to anyone who refers 10 users). Build the referral UI. Ask Claude Code: Create a referral page at src/app/referral/page.tsx accessible from the user's dashboard. Show: their referral link with Copy and QR code, sharing buttons with pre-written messages optimised for each platform, a table of their referrals (email obscured for privacy, status, date, reward), their progress toward the next reward tier, and total rewards earned. Add a referral widget that appears in the product at strategic moments. Ask Claude Code: Create a referral prompt component that shows at high-satisfaction moments: after completing a key task successfully, after receiving a positive outcome from the product, and on milestone days (7-day anniversary, 30-day anniversary). The prompt should be subtle — a small banner, not a modal — with copy like Share the love — give your friends 1 month free. Make the referred user experience special. Ask Claude Code: When someone arrives via a referral link, customise the landing page: Your friend [Referrer Name] thinks you will love this. You both get [reward] when you sign up. This personal touch dramatically increases conversion — people trust recommendations from friends. Common error: do not gate the referral behind payment or activation. Let users refer as soon as they sign up — they are most enthusiastic at the beginning. If they refer someone who converts to a paid plan, reward both parties at that point.

Content engine for organic growth

Content marketing at the startup stage is not about blogging three times a week. It is about creating one piece of genuinely valuable content that ranks for a keyword your potential users search for. Ask Claude Code: Build a content pipeline tool at src/lib/growth/content.ts. The tool helps you plan, create, and optimise content for SEO. Define a ContentPiece type: title, targetKeyword, searchVolume (estimated monthly searches), difficulty (1-100 keyword difficulty score), status as idea or outline or draft or published, url, publishedAt, views, signups (attributed conversions), and notes. Create a content calendar and tracking system. Ask Claude Code: Build a content management page at src/app/admin/content/page.tsx. Show a table of all content pieces with their status, target keyword, search volume, and performance (views and signups once published). Add a Create Content Brief button that generates: a suggested title optimised for the keyword, an outline with H2 headings, competitor analysis (what the top 3 results cover), and a recommended word count. Add SEO tools. Ask Claude Code: Create a keyword research helper. Given a topic, generate a list of related long-tail keywords with estimated search volume and difficulty. Prioritise keywords where you can realistically rank: moderate search volume (100 to 1000 monthly searches) and low competition (few high-authority sites ranking). For each keyword, suggest the content format: tutorial, comparison, listicle, case study, or tool/calculator. Build content distribution automation. Ask Claude Code: When a piece of content is published, automatically generate social media posts for Twitter, LinkedIn, and a newsletter mention. Create 3 variations for each platform (test which performs best). Schedule posts across the first 2 weeks: share on publish day, reshare with a different hook 3 days later, share a key insight from the article 7 days later, and a final share with social proof (X people found this useful) at 14 days. Track which distribution channels drive the most traffic and signups. Focus effort on what works. Common error: writing for other experts instead of your target users. If your product helps small business owners automate invoicing, write about invoicing problems, not about the technology behind your product. Match the content to the reader's language and concerns.

Landing page optimisation and A/B testing

Your landing page is the gateway to growth — every channel you build (referrals, content, outreach) funnels people to this page. Small improvements compound dramatically. A landing page that converts at 5 percent instead of 3 percent means 67 percent more users from the same traffic. Ask Claude Code: Create a landing page optimisation toolkit at src/lib/growth/landing.ts. Build an A/B testing system that randomly assigns visitors to variants and tracks conversion (signup). Start with three elements to test. Headline variants. Ask Claude Code: Create 3 headline variants for the landing page. Version A: feature-focused (Automate your invoicing in 5 minutes). Version B: pain-focused (Stop spending 10 hours a month on invoices). Version C: outcome-focused (Get paid 2x faster with automated invoicing). Assign visitors equally to each variant. Track impressions and signups. After 500 impressions per variant, calculate statistical significance. CTA button variants. Ask Claude Code: Test 3 button variations. The button text (Start Free vs Try It Free vs Get Started), the button colour (brand colour vs green vs orange), and the button placement (above the fold only vs above and below the fold). Social proof variants. Ask Claude Code: Test 3 approaches to social proof. Customer logos, a specific metric (Trusted by 3,247 businesses), and a customer testimonial with a photo and name. Build the A/B test dashboard. Ask Claude Code: Create an admin page showing all running experiments, each variant's impression count, conversion count, and conversion rate, the statistical significance of the results, and a recommendation (Variant B outperforms with 96 percent confidence — consider making it the default). Auto-pause experiments that reach significance to avoid wasting traffic on a settled question. Add landing page analytics beyond conversion. Ask Claude Code: Track scroll depth (how far visitors scroll), time on page, which sections get the most attention (using intersection observer to track viewability), exit intent (mouse moving toward the browser close button — trigger a last-chance offer), and rage clicks (frustration signals). Common error: testing too many things at once. Each test needs hundreds of visitors to reach significance. With limited traffic, test one element at a time. The headline is usually the highest-impact element — start there.

Acquisition analytics and channel tracking

You cannot improve what you do not measure. Acquisition analytics tells you where users come from, what it costs to acquire them, and which channels are worth investing in. Ask Claude Code: Build an acquisition analytics system at src/lib/growth/analytics.ts. Track the source of every signup using UTM parameters (utm_source, utm_medium, utm_campaign) and referrer headers. Create a ChannelPerformance type: channel name, visitors, signups, conversion rate, cost (if paid), cost per acquisition, and quality score (what percentage of signups from this channel become active users). Build the acquisition dashboard. Ask Claude Code: Create a page at src/app/admin/growth/channels/page.tsx. Show a table of all acquisition channels with their performance metrics. Channels include: organic search (from Google, no utm), referral program (from referral links), content marketing (from specific content pieces, tracked with utm), social media (Twitter, LinkedIn, broken out by platform), direct (typed the URL), and any paid channels. Visualise channel performance as a bubble chart. Ask Claude Code: Create a chart where the x-axis is cost per acquisition, the y-axis is conversion rate, and the bubble size is total signups. The best channels appear in the top-left (low cost, high conversion, large volume). This instantly reveals where to focus your effort. Add cohort quality tracking. Ask Claude Code: Not all users are equal. Track 30-day retention by acquisition channel. If referral users have 60 percent retention but social media users have 15 percent, a social media user costs 4x more in lifetime value terms even if the initial acquisition cost is the same. Show retention by channel as a line chart over the first 90 days. Add a growth model calculator. Ask Claude Code: Create a simple growth projection tool. Input: current users, weekly signup rate, weekly churn rate, and referral viral coefficient (average referrals per user times referral conversion rate). Output: a 12-week projection showing user count with and without the viral effect. Show the crossover point where viral growth exceeds organic growth — this is when your growth becomes self-sustaining. Deploy the growth toolkit and connect it to your product. Ask Claude Code: Create an integration guide showing how to add the referral link to your product's navigation, the referral widget to high-satisfaction moments, UTM tracking to all external links, and the acquisition pixel to your signup form. Test every growth feature end-to-end: join the waitlist, refer a friend, sign up via referral, share content, and verify all events are tracked in the analytics dashboard.

Related Lesson

Growth Marketing

This guide is hands-on and practical. The full curriculum covers the conceptual foundations in depth with structured lessons and quizzes.

Go to lesson