sandboxes-js-sdk

Create and manage Koyeb sandboxes programmatically from Node.js using the official JS SDK.

4|2|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/koyeb/koyeb-skills --skill sandboxes-js-sdk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sandboxes-js-sdk
Source: https://github.com/koyeb/koyeb-skills/tree/main/plugins/koyeb/skills/sandboxes-js-sdk
Command: npx skills add https://github.com/koyeb/koyeb-skills --skill sandboxes-js-sdk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

JavaScript/TypeScript developers often need programmatic control over Koyeb sandboxes to automate testing, builds, and deployments without manual intervention.

Core Features & Use Cases

  • Create and manage sandboxes directly from JavaScript/TypeScript using the official SDK.
  • Expose ports, run commands, retrieve logs and status, and clean up resources automatically.
  • Use in CI/CD pipelines to provision ephemeral environments for testing and demos.

Quick Start

Install the SDK and configure KOYEB_API_TOKEN to start creating sandboxes.

Frequently Asked Questions about sandboxes-js-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Koyeb sandbox lifecycles in Node.js?

You can automate Koyeb sandbox lifecycles in Node.js by installing the official JS SDK and authenticating with a KOYEB_API_TOKEN to programmatically create, manage, and clean up ephemeral environments.

What is the best way to run commands and expose ports in Koyeb sandboxes programmatically?

The best way to run commands and expose ports in Koyeb sandboxes is using the official JS SDK, which provides methods to execute commands, map ports, and retrieve status directly within JavaScript or TypeScript workflows.

Can I use the Koyeb JS SDK to provision ephemeral environments in CI/CD pipelines?

Yes, you can use the Koyeb JS SDK in CI/CD pipelines to provision ephemeral environments for automated testing and demos, managing the entire sandbox lifecycle from creation to resource cleanup.

Do I need a KOYEB_API_TOKEN to manage sandboxes with TypeScript?

Yes, you need a KOYEB_API_TOKEN to authenticate and operate the JS SDK when managing sandboxes with TypeScript, alongside having Node.js and a package manager like npm or pnpm installed.

How does programmatic sandbox management work in JavaScript cloud automation workflows?

Programmatic sandbox management in JavaScript works by calling SDK methods to instantiate sandboxes, execute commands, fetch logs, and automatically terminate resources, eliminating manual intervention in cloud automation workflows.