Skip to main content
An agent deployed on Blaxel can be consumed through various downstream applications, including web apps and front-end UIs.

Integrate in your application

You’ll need: Use these code snippets to integrate your agent in your JavaScript, TypeScript or Python applications.
Make sure to not expose your API key publicly.
const response = await fetch("https://run.blaxel.ai/YOUR-WORKSPACE/agents/YOUR-AGENT", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": `Bearer <YOUR_API_KEY>`
  },
  body: JSON.stringify({
    inputs: "Hello, world!"
  })
});

const data = await response.text();
console.log(data);

Downstream integrations

Below you’ll find examples of tested integrations that show how to use your agents with external services.

n8n

Orchestrate Blaxel agents using n8n workflows.
Last modified on May 28, 2026