Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.nexus.westyx.cloud/llms.txt

Use this file to discover all available pages before exploring further.

Prerequisites

  • A Nexus account - we are currently in closed beta. Request access at nexus.westyx.dev
  • A project and at least one service created in the console
  • An API key for that service (sk_live_... for backend services, pk_live_... for frontend)
Backend services use sk_live_ keys and can access secrets, configs, and flags. Frontend services use pk_live_ keys and can access configs and flags only - secrets are never sent to the browser.
The examples below use Node.js, Python, and React. Full reference for all 8 SDKs is in the SDK docs.

1. Install the SDK

npm install @westyx-nexus/sdk-nodejs

2. Initialize the client

Your service endpoint is shown in the Nexus console on the service detail page.
import { NexusClient } from '@westyx-nexus/sdk-nodejs';

const client = await NexusClient.create({
  endpoint: 'https://your-service.nexus.westyx.dev',
  apiKey:   'sk_live_...',
});

3. Read values

const dbURL     = client.getConfig('database.url');
const stripeKey = client.getSecret('stripe.key');
const newUI     = client.getFlag('new-ui', false);
Value changes pushed from the console propagate to connected SDK clients within milliseconds.
// Already started by NexusClient.create().
// To reconnect manually: client.connectStream()

Next steps

Secrets

Learn about secret versioning, file-type secrets, and audit trail.

Feature Flags

Set up A/B rollout and targeting rules.

Workload Identity

Eliminate static API keys with WIF on Kubernetes, AWS, GCP, or Azure.

SDK reference

Full reference for all 8 SDKs.