Viral Instagram Reels
with Claude Code
Follow these steps to set up your AI-powered Instagram Reels workflow. Click each step to expand the full instructions.
1Install Visual Studio Code
- Go to code.visualstudio.com
- Click the download button — it will detect your operating system (Windows, Mac, or Linux) automatically.
- Run the installer and follow the on-screen instructions.
- Once installed, open VS Code to make sure it launches correctly.
2Install Claude Code
- Open the terminal inside VS Code by pressing
Ctrl + `(orCmd + `on Mac). - If you don't have Node.js installed yet, download it first from nodejs.org (choose the LTS version).
- Run the following command to install Claude Code:
npm install -g @anthropic-ai/claude-code - Once installed, type
claudein the terminal and press Enter. Follow the prompts to log in with your Anthropic account.
3Download the Project from GitHub
- Go to the project repository: github.com/melnikoff-oleg/social-media
- Click the green "Code" button, then select "Download ZIP".
- Unzip the downloaded file to a folder on your computer (e.g., your Desktop or Documents).
- Open the folder in VS Code: go to File → Open Folder and select the
social-mediafolder. - Alternative (if you have Git installed): open the terminal and run:
Then open the cloned folder in VS Code.git clone https://github.com/melnikoff-oleg/social-media.git
4Get Your API Keys
You'll need three API keys for this project. Here's how to get each one:
Apify API Key
- Go to apify.com and create a free account.
- Click on your profile icon in the top-right corner.
- Navigate to Settings → Integrations.
- Copy your Personal API Token.
Google Gemini API Key
- Go to aistudio.google.com/apikey
- Sign in with your Google account.
- Click "Create API Key" and copy it.
Anthropic API Key
- Go to console.anthropic.com
- Sign in or create an account.
- Navigate to Settings → API Keys.
- Click "Create Key" and copy it.
Save all three keys somewhere safe — you'll add them in the next step.
5Configure the .env File
- In VS Code, look for a file called
.env.exampleor.envin the project root. - If you only see
.env.example, duplicate it and rename the copy to.env - Open the
.envfile and fill in your API keys:APIFY_API_KEY=your_apify_key_here GEMINI_API_KEY=your_gemini_key_here ANTHROPIC_API_KEY=your_anthropic_key_here - Replace each
your_..._hereplaceholder with the actual API key you copied in the previous step. - Save the file.
Note: The exact variable names may differ slightly — check the project's README for the correct names.
6Run the Project with Claude Code
- Open the terminal in VS Code (
Ctrl + `orCmd + `). - Make sure you're in the project folder, then type:
claude - Claude Code will read the project files and understand how it works.
- Ask Claude to help you create your first viral Instagram Reel — for example:
"Help me create a viral Instagram Reel about [your topic]" - Claude will guide you through the workflow — from scraping trending content to generating your Reel.
Watch the Full Walkthrough
More Free Resources
Claude Code for Content
Set up AI-powered content creation with Claude Code
Claude Code for Marketing
Set up AI-powered marketing workflows with Claude Code
Personalized LinkedIn Outreach
Find, score, and message leads with AI-generated value
Claude Code for SEO
SEO-optimize your website using Claude Code and AI
Authentic LinkedIn System
Free n8n workflow for authentic personal brand content
Viral LinkedIn Content Machine
Free n8n workflow for automated viral LinkedIn posts
LinkedIn AI Blueprint
4 free AI tools for LinkedIn growth
Claude Cowork for Outreach
Automate LinkedIn lead gen and cold outreach with AI
Free Profile Analysis
Get a personalized AI analysis of your LinkedIn profile
Top LinkedIn Profiles
Study what makes high-performing LinkedIn profiles work