/bolt-ai-integration

Bolt.new AI and Slack integration: Step-by-Step Guide 2025

Learn to integrate Bolt.new AI with Slack in 2025 using this easy step-by-step guide to improve workflows, automation, and team productivity.

Matt Graham, CEO of Rapid Developers

Book a call with an Expert

Starting a new venture? Need to upgrade your web app? RapidDev builds application with your growth in mind.

Book a free No-Code consultation

How to integrate Bolt.new AI with Slack?

To integrate Bolt.new with Slack, you don’t connect “Bolt to Slack” directly. Instead, you build a small backend API inside Bolt.new (Node.js/Express is easiest), expose an endpoint for Slack to call (via webhooks or Slash Commands), and call Slack’s Web API using an OAuth token that you store as an environment variable. Slack treats your Bolt.new app like any other web service.

 

How to integrate Bolt.new AI with Slack

 

You integrate Slack by creating a Slack app in Slack’s dashboard, enabling either Slash Commands, Event Subscriptions, or Incoming Webhooks, then pointing Slack to an HTTPS endpoint you build inside Bolt.new. Inside your Bolt.new project, you call Slack’s API using a bot token stored in an environment variable. The flow is standard: Slack → your Bolt endpoint → your logic → Slack API. Bolt.new is simply your development environment hosting the backend logic.

 

Step-by-step explanation

 

This breaks down exactly what you need to do, using only real Slack features and real Bolt.new patterns.

  • Create a Slack App Go to api.slack.com/apps → Create New App → give it a name and workspace.
  • Choose integration type The two most common ways to integrate from Bolt.new: – Slash Commands (user types /command → Slack calls your endpoint) – Event Subscriptions (Slack sends you events when something happens, e.g., new messages)
  • Provide Slack an HTTPS endpoint Bolt.new can serve an Express.js server in preview mode. Slack must call a public URL, so you expose your Bolt backend using the preview’s public URL and paste it into Slack’s configuration. Example: Slash Command → Request URL → https://your-bolt-preview-url/api/slack/command
  • Install the Slack App into the workspace After enabling features, Slack will issue a Bot User OAuth Token starting with xoxb-.
  • Store credentials as environment variables in Bolt.new Example: SLACK_BOT_TOKEN= xoxb-xxx Then you read process.env.SLACK_BOT_TOKEN inside the server.
  • Call Slack’s Web API Use fetch or any HTTP library to send messages or respond to Slack events.
  • Verify Slack Requests Slack signs each request with a signature header. For early prototyping you can skip verification, but for production you validate using your Slack Signing Secret.

 

Minimal working example (Node/Express inside Bolt.new)

 

// server.js
import express from "express";
import fetch from "node-fetch";

const app = express();
app.use(express.urlencoded({ extended: true }));
app.use(express.json());

// POST endpoint for Slack Slash Command
app.post("/api/slack/command", async (req, res) => {
  const { text, user_name } = req.body;

  // Respond immediately to Slack
  res.json({
    response_type: "ephemeral",
    text: `Hello ${user_name}, you typed: ${text}`
  });

  // Optional: send a message back to a channel using Slack Web API
  await fetch("https://slack.com/api/chat.postMessage", {
    method: "POST",
    headers: {
      Authorization: `Bearer ${process.env.SLACK_BOT_TOKEN}`,
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      channel: "#general",
      text: `Command received: ${text}`
    })
  });
});

app.listen(3000, () => {
  console.log("Server running on port 3000");
});

 

This file can live directly in a Bolt.new project. When you run it, Bolt gives you a public preview URL. That URL is what you paste into Slack’s Slash Command configuration.

 

Important concepts you must understand

 

  • Bolt.new does not have built‑in Slack integration. You integrate via standard HTTP APIs.
  • Slack must reach your backend. Slack always initiates the request for slash commands and events.
  • All credentials stay inside Bolt.new environment variables. Never hardcode tokens.
  • Your backend calls Slack’s Web API to post messages, respond to threads, etc.
  • OAuth happens once. After installing the Slack app, you get your bot token.

 

If you follow this pattern, your Bolt.new project becomes a fully functional Slack integration using only official APIs and standard webhooks.

Want to explore opportunities to work with us?

Connect with our team to unlock the full potential of no-code solutions with a no-commitment consultation!

Book a Free Consultation

Client trust and success are our top priorities

When it comes to serving you, we sweat the little things. That’s why our work makes a big impact.

Rapid Dev was an exceptional project management organization and the best development collaborators I've had the pleasure of working with. They do complex work on extremely fast timelines and effectively manage the testing and pre-launch process to deliver the best possible product. I'm extremely impressed with their execution ability.

CPO, Praction - Arkady Sokolov

May 2, 2023

Working with Matt was comparable to having another co-founder on the team, but without the commitment or cost. He has a strategic mindset and willing to change the scope of the project in real time based on the needs of the client. A true strategic thought partner!

Co-Founder, Arc - Donald Muir

Dec 27, 2022

Rapid Dev are 10/10, excellent communicators - the best I've ever encountered in the tech dev space. They always go the extra mile, they genuinely care, they respond quickly, they're flexible, adaptable and their enthusiasm is amazing.

Co-CEO, Grantify - Mat Westergreen-Thorne

Oct 15, 2022

Rapid Dev is an excellent developer for no-code and low-code solutions.
We’ve had great success since launching the platform in November 2023. In a few months, we’ve gained over 1,000 new active users. We’ve also secured several dozen bookings on the platform and seen about 70% new user month-over-month growth since the launch.

Co-Founder, Church Real Estate Marketplace - Emmanuel Brown

May 1, 2024 

Matt’s dedication to executing our vision and his commitment to the project deadline were impressive. 
This was such a specific project, and Matt really delivered. We worked with a really fast turnaround, and he always delivered. The site was a perfect prop for us!

Production Manager, Media Production Company - Samantha Fekete

Sep 23, 2022