Installation
Installation Guide
Section titled “Installation Guide”This guide covers detailed installation instructions for all UnboundBytes components.
TypeScript SDK
Section titled “TypeScript SDK”The TypeScript SDK is the recommended way to interact with the UnboundBytes API from Node.js and browser applications.
Requirements
Section titled “Requirements”- Node.js 20.x or later
- TypeScript 5.x (optional, but recommended)
Package Managers
Section titled “Package Managers”npm install @unboundbytes/sdkyarn add @unboundbytes/sdkpnpm add @unboundbytes/sdkbun add @unboundbytes/sdkTypeScript Configuration
Section titled “TypeScript Configuration”If using TypeScript, ensure your tsconfig.json has the following settings:
{ "compilerOptions": { "moduleResolution": "bundler", "module": "ES2022", "target": "ES2022", "strict": true }}Verify Installation
Section titled “Verify Installation”import { UnboundBytesClient } from '@unboundbytes/sdk';
const client = new UnboundBytesClient({ auth: { type: 'bearer', token: 'test' }});
console.log('SDK installed successfully!');Agent Installation
Section titled “Agent Installation”The UnboundBytes Agent is a lightweight Rust daemon that runs on your infrastructure.
System Requirements
Section titled “System Requirements”- Linux (Debian/Ubuntu, RHEL/CentOS, or compatible)
- 64-bit architecture (x86_64 or aarch64)
- Docker or Podman runtime
- Network connectivity to the orchestrator
Quick Install
Section titled “Quick Install”curl -sSL https://get.unboundbytes.com/agent | bashManual Installation
Section titled “Manual Installation”-
Download the agent binary
Terminal window # For x86_64curl -LO https://releases.unboundbytes.com/agent/latest/unboundbytes-agent-linux-x86_64.tar.gz# For ARM64curl -LO https://releases.unboundbytes.com/agent/latest/unboundbytes-agent-linux-aarch64.tar.gz -
Extract and install
Terminal window tar -xzf unboundbytes-agent-*.tar.gzsudo mv unboundbytes-agent /usr/local/bin/sudo chmod +x /usr/local/bin/unboundbytes-agent -
Create configuration directory
Terminal window sudo mkdir -p /etc/unboundbytes -
Create systemd service
Terminal window sudo tee /etc/systemd/system/unboundbytes-agent.service << 'EOF'[Unit]Description=UnboundBytes AgentAfter=network.target docker.serviceWants=docker.service[Service]Type=simpleExecStart=/usr/local/bin/unboundbytes-agentRestart=alwaysRestartSec=10Environment=RUST_LOG=info[Install]WantedBy=multi-user.targetEOF -
Start the agent
Terminal window sudo systemctl daemon-reloadsudo systemctl enable unboundbytes-agentsudo systemctl start unboundbytes-agent
Verify Agent Status
Section titled “Verify Agent Status”sudo systemctl status unboundbytes-agentsudo journalctl -u unboundbytes-agent -fDevelopment Setup
Section titled “Development Setup”For local development and testing, you can run the orchestrator locally.
Clone the Repository
Section titled “Clone the Repository”git clone https://github.com/unboundbytes/unboundbytes-core.gitcd unboundbytes-coreInstall Dependencies
Section titled “Install Dependencies”npm installRun Local Development Server
Section titled “Run Local Development Server”# Start the orchestratornpm run dev -- --scope=orchestrator
# In another terminal, start the portalnpm run dev -- --scope=portalEnvironment Variables
Section titled “Environment Variables”Configure your environment for different deployment scenarios:
| Variable | Description | Default |
|---|---|---|
UB_API_URL | API base URL | https://api.unboundbytes.com |
UB_TENANT_ID | Your tenant identifier | - |
UB_API_TOKEN | Authentication token | - |
UB_LOG_LEVEL | Log verbosity | info |
Next Steps
Section titled “Next Steps”- Quick Start Guide - Make your first API call
- API Authentication - Configure authentication
- TypeScript SDK Reference - Full SDK documentation