Rollbar Debugging with ChatGPT using Service Links

Rollbar Debugging with ChatGPT using Service Links
Table of Contents

In this guide, we will walk you through how to add a service link that connects directly to the Rollbar Debugging Assistant—our ChatGPT-powered tool that helps you quickly analyze and debug an occurrence’s raw.json without needing access to your code repository.

The Rollbar Debugging Assistant makes it easier and faster to understand what went wrong in a specific error occurrence. With just a click, you can send details like the stack trace into an AI chat and get immediate insight and suggestions for how to fix it.

Let’s walk through how to set this up.

Step 1 — Navigate to Your Project Settings

Start by heading into Project Settings and selecting the project you want to configure. This ensures that the service link is available whenever you’re looking at items within that specific project.

Step 2 — Create a New Service Link

Inside your project settings, go to Integrations → Service Links.
Click Add Link to create a new one.

In the URL field, paste the link for the Rollbar Debugging Assistant.

Step 3 — Add a Prompt With Placeholders

Next, you’ll specify the prompt that the Debugging Assistant will receive.

Here we add a prompt that includes the body.trace placeholder—this allows Rollbar to automatically insert the stack trace from the occurrence payload when the link is used:

https://chatgpt.com/g/g-68f184d34a3481919358376b5dbadf86-rollbar-debugging-assistant/?prompt={{body.trace}}

When someone clicks this service link from an item page, the Rollbar Debugging Tool will already have the relevant trace loaded into the prompt.

Options for Payload Data

If you want to pass more than just the stack trace, you can!
Your service link configuration can include other placeholders to send additional parts of the payload.

You may be able to pass the entire JSON payload if it’s small enough, but keep in mind that browsers limit URL lengths.

Why Use AI-Powered Service Links?

Service links give you a simple, secure way to bring AI into your debugging workflow:

  • No repo or workspace access required for AI
  • No on-the-spot prompt engineering necessary
  • AI is focused on a single, specific Rollbar occurrence

The Rollbar Debugging Assistant helps you quickly troubleshoot errors using the information already available in Rollbar—without exposing your source code or building custom tooling.

Build with confidence. Release with clarity.

Rollbar helps you track what breaks, understand why, and improve what comes next.

5K free events per month, forever
14-day full feature trial
Easy and quick installation
Get started in minutes

Plans starting at $0. Take off with our 14-day full feature Free Trial.