Your CRM sucks, build one with Claude Code

A working CRM web app with contacts, companies and dashboards, built and deployed without writing code.

playbook
Last updated Oct 28, 2026

Tools featured in this playbook

This article was originally posted on Skool

Build a fully functioning CRM system using Claude Code in minutes to replace expensive tools like HubSpot or GoHighLevel.

This tutorial shows you how to create a web app with contacts, companies, analytics dashboards, and databases without writing any code yourself.

Learn the complete setup process using Claude Code, GitHub, and Railway for deployment. The system includes lead pipelines, meeting schedulers, note-taking features, and workflow automation.

https://github.com/brendanjowett/demo-crm

From the video

This is a fully working CRM that I 100% vibe coded with Claude Code in a few minutes: a web app with contacts, companies, dashboards and analytics. It's a basic example with mock data, but you can take it as far as you like.

Our internal CRM, also 100% vibe coded, has contacts, a lead pipeline, our own Calendly replacement, meetings connected to our AI note taker, analytics, time tracking, opportunities, a voice agent, conversations, our own workflows and detailed contact pages with notes, meetings and emails. I didn't write a line of code.

The point is to replace tools like GoHighLevel or HubSpot that cost hundreds of dollars a month. We've used ours internally for 6 months, and it's better than any tool I've ever paid for, because I can tell it exactly what I want, I understand the whole system, and any change takes a few minutes.

I'm open sourcing the whole CRM on GitHub. Give the repo link to your own Claude Code and it will figure out how to install it. But I recommend you understand how the system works, so you know what to do when issues come up.

How the system works

  • Claude Code writes all the code. You just tell it in plain English what you want.

  • GitHub stores the code.

  • Railway deploys it automatically from GitHub and hosts both the web app and the database.

If you've used GitHub Pages or Vercel, those also put apps on the internet, but they don't come with databases or the proper setup for a real web application. A CRM stores lots of data (contacts, companies and so on), so you need that setup. Railway is what I use.

Claude Code is connected to both GitHub and Railway, so it has full context on everything. Users just visit the Railway URL, or your own domain if you connect one to Railway.

I also had Claude Code write a claude.md file with the architecture diagram and setup steps. Give that file to your own Claude Code and it knows exactly what to build, so it doesn't spend tokens figuring it out. That saves you money.

Step 1: the first prompt

This is what I sent:

Can you please now build a fully functioning CRM system with a bunch of mock data for a mock company? I just want to demonstrate the ability for you to be able to build a completely running CRM system for me. Just create a contacts page, a company's page and an analytics page for this CRM system web app as well. Please ensure that this system in which I can deploy to GitHub and then deploy to railway. So this system can be actually used properly on the internet. Make sure that it is built with databases and everything that a typical CRM system would need. Thank you.

I didn't give it any specifics. You can give as much detail as you want. If you already have an AI operating system with context on your business, it will probably build a much more custom CRM. I do recommend telling it to use GitHub and Railway.

It chose Next.js (a popular framework for web apps, nothing to worry about), made a plan for the pages, GitHub and Railway, and after a couple of minutes said it was built and ready to deploy.

Step 2: deploy to GitHub and Railway

It struggled to run the app locally because it wanted a database URL from the internet. So I chose to deploy right away. That's probably best anyway, to confirm everything is set up properly.

  1. Ask: "Can you access my accounts?" Claude checks for your GitHub and Railway connections.

  2. GitHub: mine was already connected. If it isn't, it opens Chrome, you log in, and it connects.

  3. Repo settings: pick any name. Set the repo to private, so only you can access the code. Public means anyone on the internet can see it.

  4. Railway: it wasn't connected yet. Copy the railway login command, right-click the tab bar in VS Code, open a new terminal, paste it, and type a capital Y to open the browser and log in.

  5. If GitHub has trouble connecting, open the Railway project Claude created, click the GitHub connection button and log in.

Railway looks like a canvas with nodes for your project, accounts and databases. You don't need to touch it much. Claude does it.

If a build fails, Claude reads the failed build logs, fixes the issue and deploys again until it works.

One more wall: Railway asked for its $5 a month plan, because I was running several projects on my account. With just one project you might not need it. Hosting apps on the internet costs money, and $5 a month isn't too bad.

Once it's done, you get a live URL. The database is the Postgres node in Railway, where you can see your tables.

Step 3: use it and change it

  • Import your contacts: export them from HubSpot or GoHighLevel as a CSV, give the file to Claude Code and tell it to import them. You could also ask it to build an import button, but giving it the file is easiest because it sees the exact structure.

  • Style: tell it to update the colors and design, or use the frontend design skill.

  • New features: just ask. For example: "Please add a dark mode toggle to the CRM system." A couple of minutes later it was built and deployed live, with the toggle at the bottom of the sidebar.

The basics are quick to build. Most of the features in our own CRM came from using it, noticing we needed something, and asking Claude to add it. Once you understand how it's built and deployed, you can build pretty much anything.

Comments

Login to leave a comment