/bolt-ai-integration

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

Learn how to integrate Bolt.new AI with Insightly in 2025 with this clear step-by-step guide to boost automation and workflow efficiency.

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 Insightly?

You integrate Bolt.new with Insightly by calling Insightly’s public REST API from inside your Bolt.new server code using your Insightly API Key stored in Bolt.new environment variables. Bolt doesn’t have a special Insightly plug‑in — you treat Insightly like any external API: authenticate using HTTP Basic Auth with the API key, send JSON requests, and handle responses. That’s it. The integration is just standard HTTPS requests to Insightly’s REST endpoints.

 

What Integration Really Means Here

 

Bolt.new lets you write a small Node/Express server (or any backend supported in the workspace). From that backend you can call Insightly's REST API. Insightly does not use OAuth for simple API access — it uses Basic Auth with the API key as the username and an empty password.

This is standard, secure, predictable, and works perfectly inside Bolt.new.

 

Step-by-Step: How to Integrate Bolt.new with Insightly

 

  • Create an API Key in Insightly
  • Put that API key in Bolt.new environment variables (for example: INSIGHTLY_API_KEY)
  • Write backend code in Bolt.new that makes HTTPS requests to Insightly’s REST endpoints
  • Test from the Bolt.new preview window (front‑end calls your backend, backend calls Insightly)
  • Harden for production by moving env vars to your real hosting environment later

 

Where to Store the API Key in Bolt.new

 

In Bolt.new, open the Environment Variables panel. Add:

  • Key: INSIGHTLY_API_KEY
  • Value: your actual Insightly API key

This keeps your secret out of your source code.

 

Example: Fetch Contacts from Insightly Inside Bolt.new

 

This Node/Express code is 100% real and valid for Insightly’s API. It uses Basic Auth, with the Insightly API key as the username and an empty password.

 

// Example Express route in a Bolt.new backend
// Calls Insightly to fetch contacts

import express from "express";
import fetch from "node-fetch"; // Bolt.new supports this import

const router = express.Router();

router.get("/insightly/contacts", async (req, res) => {
  try {
    const apiKey = process.env.INSIGHTLY_API_KEY; // from Bolt.new env vars

    const response = await fetch(
      "https://api.insightly.com/v3.1/Contacts", // Insightly REST endpoint
      {
        method: "GET",
        headers: {
          Authorization:
            "Basic " + Buffer.from(apiKey + ":").toString("base64"), // username=api key, password=""
          "Content-Type": "application/json",
        },
      }
    );

    const data = await response.json();
    res.json(data);
  } catch (err) {
    res.status(500).json({ error: err.message });
  }
});

export default router;

 

Example: Create a New Contact in Insightly

 

// Create a contact in Insightly via POST

router.post("/insightly/create-contact", async (req, res) => {
  try {
    const apiKey = process.env.INSIGHTLY_API_KEY;

    const response = await fetch(
      "https://api.insightly.com/v3.1/Contacts",
      {
        method: "POST",
        headers: {
          Authorization:
            "Basic " + Buffer.from(apiKey + ":").toString("base64"),
          "Content-Type": "application/json",
        },
        body: JSON.stringify({
          FIRST_NAME: req.body.firstName,
          LAST_NAME: req.body.lastName,
          EMAIL: req.body.email,
        }),
      }
    );

    const result = await response.json();
    res.json(result);
  } catch (err) {
    res.status(500).json({ error: err.message });
  }
});

 

How to Use This From the Front-End Inside Bolt.new

 

Your React front-end just calls your backend route. The backend handles authentication and talks to Insightly.

 

// Example React code calling your backend from Bolt.new

async function loadContacts() {
  const res = await fetch("/insightly/contacts");
  const contacts = await res.json();
  console.log(contacts);
}

 

Important Notes for Junior Devs

 

  • Bolt never stores or sends your API key outside your env vars. Your backend code reads it securely.
  • You NEVER call Insightly directly from the browser because then your API key would be exposed.
  • Your backend is the middle layer that hides secrets and validates requests.
  • Insightly API rate limits exist (they return 429 if too many requests). Build retry/backoff if needed.

 

When Moving Beyond Bolt

 

Once your integration works in Bolt.new, deploy the same backend to real hosting (Vercel, Render, AWS, etc.). Set environment variables in your production platform, keep the API key secret, and everything works the same — because the integration is just REST over HTTPS.

 

This is the correct, real, production-grade way to integrate Bolt.new AI with Insightly.

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