/bolt-ai-integration

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

Learn how to connect Bolt.new AI with Expensify in 2026 using a clear, step-by-step guide that streamlines workflows and boosts 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 Expensify?

To integrate Bolt.new with Expensify, you don’t “connect” Bolt itself — you build a small API-based integration inside a Bolt.new project. Expensify exposes a real, documented HTTPS API called the Expensify Integration Server. Your Bolt.new backend (Node/Express or similar) will call that API using a partner key and your Expensify account credentials. The flow is: store your Expensify credentials as environment variables in Bolt.new, create a backend route that signs requests in the format Expensify expects, and then call Expensify’s endpoints (such as creating expense reports or exporting transactions). Bolt.new acts only as the development environment; the actual integration happens through your own API code running inside it.

 

What Expensify Actually Provides

 

Expensify exposes an HTTPS API called the Integration Server API. It has no OAuth flow like Google; instead, it uses:

  • partnerUserID – your Expensify login email
  • partnerUserSecret – an API key generated inside Expensify
  • requestJobDescription – a JSON payload describing the job (e.g., create report, export expenses)

The API endpoint is real and stable:

  • https://integrations.expensify.com/Integration-Server/ExpensifyIntegrations

 

How you integrate this inside Bolt.new

 

You create a small backend (Node.js is simplest) in your Bolt.new workspace. Bolt.new will run this backend and let you test calls directly. The key is to store your Expensify credentials as environment variables so you never hardcode them in code.

  • BOLT_ENV: PARTNER_USER\_ID = Your Expensify login email
  • BOLT_ENV: PARTNER_USER\_SECRET = Your Expensify secret from Expensify settings

Then you write a backend route that takes your app’s input (e.g., a new expense), formats it in Expensify’s job format, and sends it over HTTPS.

 

Minimal working backend example (Node.js inside Bolt.new)

 

import express from "express"
import fetch from "node-fetch"

const app = express()
app.use(express.json())

app.post("/expensify/create-expense", async (req, res) => {
  try {
    const { amount, currency, merchant, created } = req.body // expecting data from your frontend

    const payload = {
      type: "create",
      credentials: {
        partnerUserID: process.env.PARTNER_USER_ID,        // stored in bolt env
        partnerUserSecret: process.env.PARTNER_USER_SECRET // stored in bolt env
      },
      inputSettings: {
        type: "expenses",
        expenses: [
          {
            amount: amount,         // Expensify uses integers in cents
            currency: currency,
            merchant: merchant,
            created: created        // ISO8601 timestamp
          }
        ]
      }
    }

    const response = await fetch(
      "https://integrations.expensify.com/Integration-Server/ExpensifyIntegrations",
      {
        method: "POST",
        headers: { "Content-Type": "application/x-www-form-urlencoded" },
        body: `requestJobDescription=${encodeURIComponent(JSON.stringify(payload))}`
      }
    )

    const result = await response.text() // Expensify returns text, not JSON
    res.send({ success: true, result })
  } catch (err) {
    res.status(500).send({ error: err.message })
  }
})

app.listen(3000, () => console.log("Bolt.new backend running on :3000"))

 

Why this works

 

Expensify requires a very specific POST format: application/x-www-form-urlencoded with a single field called requestJobDescription. Inside that field is a serialized JSON object. This is exactly how their real API works. Bolt.new will run this code unchanged.

Because Bolt.new sandboxes the project, your environment variables are safe in the dev context, and you can quickly iterate on the API calls without exposing secrets.

 

Testing the integration inside Bolt.new

 

  • Launch backend panel → Start server.
  • Use Bolt’s built-in HTTP client or a simple frontend button to POST to /expensify/create-expense.
  • Verify Expensify responds with success (usually a job GUID and status).

 

Hardening for production (outside Bolt.new)

 

  • Move environment variables to your real server (Vercel, AWS, Render, etc.).
  • Enable HTTPS on your deployed API.
  • Store Expensify secrets in secure environment management (Vault, AWS Secrets Manager, etc.).
  • Validate inputs before passing them to Expensify.

 

Summary

 

Integrating Bolt.new with Expensify is simply building a standard REST API call inside a Bolt.new backend. Expensify only needs a partnerUserID, partnerUserSecret, and a correctly formatted requestJobDescription. Once you create a backend route that wraps this call, you can create expenses, reports, and exports directly from your full‑stack application built in Bolt.new.

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