# BugBug integrations: tests, suites and runs

> Create a test, create a suite and run a test in BugBug, and start a workflow when BugBug sends “Test finished”.

**Canonical page:** https://tray.ai/connectors/bugbug-integrations/
**Categories:** Developer tools
**Connects through:** HTTP Connector

## Overview

BugBug is a codeless test automation tool that records end-to-end tests for web apps in the browser and runs them locally or in the cloud on a schedule. Tray.ai connects to BugBug through the HTTP Connector, so your workflows can call the BugBug API alongside the rest of your stack.

## Use cases

### Tests

Read, create, update, and delete tests in BugBug from any Tray.ai workflow. The BugBug API covers calls such as list tests and create a test.

- List tests
- Create a test
- Update a test

### Suites

Read, create, update, and delete suites in BugBug from any Tray.ai workflow. The BugBug API covers calls such as list suites and create a suite.

- List suites
- Create a suite
- Update a suite

### Runs

Read, create, and update runs in BugBug from any Tray.ai workflow. The BugBug API covers calls such as run a test and run a suite.

- Run a test
- Run a suite
- Check run status

### Tags

Update and manage tags in BugBug from any Tray.ai workflow. The BugBug API covers calls such as manage tags and assign tags to tests.

- Manage tags
- Assign tags to tests

### BugBug events

Start a Tray.ai workflow the moment something happens in BugBug. BugBug sends events such as test finished and suite finished to a Tray.ai webhook trigger.

- Test finished
- Suite finished

## Challenges Tray.ai solves

### Keeping BugBug credentials out of logs

A raw API call usually means pasting a key or token into the request, where it ends up in step inputs, logs, and screenshots.

**How Tray.ai helps:** Store BugBug credentials once as a Tray.ai authentication and reference them from the HTTP Connector. Tray.ai masks authentication values in logs, so the secret never shows up in a step's input or output.

### Going from the BugBug API docs to a working call

Translating an example request from API docs into a workflow step means copying the method, URL, headers, and body by hand.

**How Tray.ai helps:** Paste a cURL example from the BugBug API docs into the HTTP Connector and Tray.ai fills in the method, URL, headers, and body for you.

### Handling files and non-JSON responses

Not every API answers in JSON. Some return XML, files, or binary data, or expect a multipart upload.

**How Tray.ai helps:** The HTTP Connector parses JSON and XML responses, returns files you can pass to the next step, and sends multipart form data for uploads.

## Frequently asked questions

### Does Tray.ai connect to BugBug?

Yes. Tray.ai connects to BugBug through the HTTP Connector, which calls the BugBug API directly. Any call the BugBug API documents can run as a step in a Tray.ai workflow.

### How does Tray.ai authenticate with BugBug?

The BugBug API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

### Can I get a dedicated BugBug connector?

BugBug runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated BugBug connector from the BugBug API.

## Learn more

- Tray iPaaS: https://tray.ai/platform/ipaas/
- Tray Helix agents: https://tray.ai/helix/agents/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
