Set Up Your Tools
Before we start building, let’s make sure you have everything you need. This page walks you through each account and tool, step by step.Step-by-Step Setup
Create or log into your GitHub account
GitHub is where your code lives and where the bot will run automatically each morning.
- Go to github.com
- Click Sign up if you don’t have an account, or Sign in if you do
- Follow the prompts to create your account (free plan is fine)
Install Claude Code
Claude Code is the AI coding assistant that will write all the code for us. It runs in your terminal.Open your terminal (Terminal on Mac, PowerShell or Git Bash on Windows) and run:Then start it by typing:Follow the on-screen instructions to log in with your Anthropic account.
What if I don't have npm?
What if I don't have npm?
npm comes with Node.js. Download and install Node.js from nodejs.org (choose the LTS version). After installing, close and reopen your terminal, then try the install command again.Install Claude in Chrome
Claude in Chrome is a browser extension that helps you research documentation and debug errors without leaving your browser.
- Open Chrome and go to the Chrome Web Store
- Search for “Claude” by Anthropic
- Click Add to Chrome
- Pin it to your toolbar for easy access
Get an OpenAI API key
The bot uses OpenAI’s API to turn your git commits into a human-readable daily update.
- Go to platform.openai.com
- Sign up or log in
- Navigate to API keys (in the left sidebar or under your profile)
- Click Create new secret key
- Give it a name like
daily-report-bot - Copy the key immediately — you won’t be able to see it again
- Save it somewhere safe (a password manager is ideal)
What is an API key?
What is an API key?
An API key is like a password that lets your code talk to an external service. When your bot needs OpenAI to summarise your commits, it sends the API key along with the request so OpenAI knows who’s asking and can charge the right account. Keep your API key secret — anyone with it can use your account.
OpenAI gives new accounts a small amount of free credit. For this project, you will spend only a few cents per month — each daily report costs roughly $0.01.
Create a Slack app and webhook
A webhook is the address your bot sends messages to. We’ll create two: one for testing and one for production.
Create the Slack app:
What is a webhook?
What is a webhook?
A webhook is a URL that accepts incoming messages. When your bot sends data to this URL, Slack automatically posts it as a message in the channel you chose. Think of it as a letterbox — your bot drops a letter in, and Slack delivers it to the right room.
- Go to api.slack.com/apps
- Click Create New App → From scratch
- Name it
Daily Report Bot - Select your workspace
- Click Create App
- In your app settings, click Incoming Webhooks in the left sidebar
- Toggle Activate Incoming Webhooks to On
- Click Add New Webhook to Workspace
- Choose a test channel (e.g.
#bot-testing) and click Allow - Copy the webhook URL — this is your test webhook
- Repeat steps 3–5, but choose your production channel (e.g.
#daily-standup) — this is your production webhook
Create a GitHub repository
This is where your bot’s code will live.Replace
- Go to github.com/new
- Name it
daily-report-bot - Set it to Private (recommended, since it will contain your work commits)
- Tick Add a README file
- Click Create repository
YOUR-USERNAME with your actual GitHub username.Verify Your Setup
Before moving on, check that everything is ready:GitHub account
GitHub account
You can log into github.com and see your new
daily-report-bot repository.Claude Code
Claude Code
Run
claude --version in your terminal. You should see a version number.Claude in Chrome
Claude in Chrome
You see the Claude icon in your Chrome toolbar. Clicking it opens the extension.
OpenAI API key
OpenAI API key
You have an API key saved somewhere safe (it starts with
sk-).Slack webhooks
Slack webhooks
You have two webhook URLs saved: one for your test channel and one for your production channel.
Repository cloned
Repository cloned
You have the
daily-report-bot folder on your computer and can cd into it.All set? Head to Build it with Claude Code — the fun part.