Get instant sales analytics, booking trends, and business insights from your Bokun data using Claude AI.

What You’ll Get

  • Sales trend analysis by month, week, or day
  • Top-performing products and revenue breakdown
  • Channel performance comparison (direct vs OTAs vs backend)
  • Cancellation rates and booking health metrics
  • Custom questions about your booking data

Prerequisites

Before starting, you’ll need:

  1. A Bokun account with admin access
  2. Claude Code – Anthropic’s command-line tool (see setup below)
  3. ~15 minutes for initial setup

Note: This requires Claude Code (terminal-based), not the Claude.ai chat interface. Claude Code can execute API calls to connect to your Bokun account.


Setting Up Claude Code (Fresh Mac)

If you’ve never used developer tools on your Mac, follow these steps. Open the Terminal app (search for “Terminal” in Spotlight) and run each command:

1. Install Homebrew (Mac package manager)

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Follow the prompts. When complete, it may ask you to run two additional commands – copy and run those too.

2. Install Node.js

brew install node

3. Install Claude Code

npm install -g @anthropic-ai/claude-code

4. Launch Claude Code

claude

The first time you run this, it will ask you to log in with your Anthropic account.

Already have Claude Code? Skip to Step 1 below.


Step 1: Create Your API Credentials

  1. Log in to your Bokun account
  2. Navigate to Settings → API Keys
  3. Click Create New API Key
  4. Save both values securely:
    • Access Key
    • Secret Key

Keep your Secret Key private – treat it like a password


Step 2: Enable Booking Channel Access

This step is required for Claude to read your booking data.

  1. In Bokun, go to Settings → API Keys
  2. Find your newly created API key
  3. Click Edit or Configure
  4. Under Booking Channel, select any booking channel (e.g., “Default Channel”)
  5. Save changes

Note: Selecting a channel here simply enables booking access – it doesn’t restrict your data. Claude will be able to see bookings from all your channels (Direct, Viator, Expedia, Backend, etc.), not just the one you select.

Without this step, Claude can see your products but not your bookings.


Step 3: Connect Claude to Your Bokun Account

Copy the prompt below into Claude, then replace the two placeholders with your actual keys:

Connect to my Bokun account and show me my sales trends.

My Bokun API Access Key: PASTE_YOUR_ACCESS_KEY_HERE
My Bokun API Secret Key: PASTE_YOUR_SECRET_KEY_HERE

That’s it! Claude knows how to handle the Bokun API authentication and will connect automatically.


Step 4: Ask Questions About Your Business

Once connected, you can ask Claude questions like:

Sales & Revenue

  • “Show me my sales trends for the last 6 months”
  • “What’s my revenue breakdown by channel?”
  • “Which month had the highest bookings?”

Product Performance

  • “What are my top 5 products by revenue?”
  • “Which products have the highest average order value?”
  • “Show me booking volume by product category”

Operations

  • “What’s my cancellation rate?”
  • “Compare direct bookings vs OTA performance”
  • “Which day of the week gets the most bookings?”

Custom Analysis

  • “Why did my November sales spike?”
  • “What should I focus on to increase revenue?”
  • “Are my private tours more profitable than group tours?”

Troubleshooting

Error Solution
“This API key has no booking channel” Go back to Step 2 and assign a booking channel to your API key
Empty booking results Make sure you completed Step 2 – the booking channel must be assigned
Authentication errors Verify your Access Key and Secret Key have no extra spaces
Claude says it can’t connect Start a new Claude conversation and try again

Security Notes

  • Your API credentials give read access to your Bokun data
  • Claude does not store your credentials between sessions
  • You’ll need to provide credentials each new conversation
  • Consider creating a dedicated read-only API key for analytics

Example Output

Here’s what a typical sales analysis looks like:

SALES TRENDS (Last 6 Months)

| Month    | Bookings | Revenue (GBP) | vs Prior   |
|----------|----------|---------------|------------|
| Aug 2025 | 3        | £1,167        | -          |
| Oct 2025 | 20       | £4,980        | +326%      |
| Nov 2025 | 39       | £9,928        | +99%       |
| Dec 2025 | 4        | £630          | -94%       |

TOP PRODUCTS BY REVENUE

| Product           | Bookings | Revenue  | Avg Order |
|-------------------|----------|----------|-----------|
| BOAT PRIVATE      | 16       | £18,300  | £1,144    |
| 9/11 Tour NY      | 27       | £9,856   | £365      |
| Golden Circle     | 15       | £4,736   | £316      |

CHANNEL PERFORMANCE

| Channel  | Bookings | Revenue  | Avg Order |
|----------|----------|----------|-----------|
| Direct   | 165      | £65,687  | £398      |
| Backend  | 35       | £10,734  | £307      |

PRIVATE vs GROUP TOURS

| Type          | Bookings | Revenue  | Avg Order |
|---------------|----------|----------|-----------|
| Private Tours | 45 (23%) | £34,435  | £765      |
| Group Tours   | 155 (77%)| £41,987  | £271      |

Private tours are 2.8x more profitable per booking.

RECOMMENDATIONS:
1. Promote private boat tours - £1,200+ AOV
2. Convert backend bookings to direct - £91 more per order
3. Focus marketing on Thu/Fri - your peak booking days

Need Help?


This guide enables AI-powered analytics for your Bokun account. No coding required.