AI Marketing with Claude Code

Follow these steps to set up your AI marketing workflow. Click each step to expand the full instructions.

1
Install Visual Studio Code
  1. Go to code.visualstudio.com
  2. Click the download button — it will detect your operating system (Windows, Mac, or Linux) automatically.
  3. Run the installer and follow the on-screen instructions.
  4. Once installed, open VS Code to make sure it launches correctly.
2
Install Claude Code
  1. Open the terminal inside VS Code by pressing Ctrl + ` (or Cmd + ` on Mac).
  2. Run the following command:
    npm install -g @anthropic-ai/claude-code
  3. If you don't have Node.js installed yet, download it first from nodejs.org (choose the LTS version), then retry the command above.
  4. Once installed, type claude in the terminal and press Enter. Follow the prompts to log in with your Anthropic account.
3
Get Your Apify API Key
  1. Go to apify.com and create a free account.
  2. Once logged in, click on your profile icon in the top-right corner.
  3. Navigate to Settings → Integrations (or go directly to the API section).
  4. Copy your Personal API Token — you'll need this for the project setup.
  5. Keep it somewhere safe. You'll paste it into the project's .env file in a later step.
4
Get Your Kie.ai API Key
  1. Go to kie.ai and sign up for an account.
  2. Once logged in, find the API or Developer section in your account settings.
  3. Generate a new API key and copy it.
  4. Save it alongside your Apify key — both will go into the .env file.
5
Download the Project Files
  1. Open this Google Drive folder: Project Files Folder
  2. Download the entire folder to your computer (right-click → Download, or select all files and download).
  3. Unzip the downloaded file if needed, and place it somewhere convenient on your computer.
  4. Open the folder in VS Code: File → Open Folder and select the project directory.
6
Configure Your API Keys in .env
  1. In the project folder, find the file called .env.example (or create a new file called .env).
  2. If you see .env.example, rename it to .env.
  3. Open the .env file and paste your API keys:
    APIFY_API_KEY=your_apify_key_here
    KIE_API_KEY=your_kie_ai_key_here
  4. Replace the placeholder values with your actual API keys from the previous steps.
  5. Save the file. Your keys are now configured and the project is ready to use.
7
Start Using Claude Code
  1. Open the terminal in VS Code (Ctrl + ` or Cmd + `).
  2. Type claude and press Enter to start Claude Code within the project.
  3. Claude Code will read the project instructions and understand the marketing workflow automatically.
  4. Start giving it tasks — Claude Code will use your configured API keys to execute the marketing workflows.

Watch the Full Walkthrough

For B2B business owners

Want inbound leads from organic LinkedIn content?

See How It Works