Integration Guide

Follow the steps to integrate CyberNex into your system.

Quick Start

1

Get API Key

Log in to your CyberNex account and generate an API Key in settings.

2

Install SDK

Install CyberNex SDK using npm or pip.

3

Initialize Client

Initialize the CyberNex client in your application.

4

Start Using

Call API methods to manage your social media.

SDK Installation

Node.js / JavaScript

npm install @cybernex/sdk

Python

pip install cybernex-sdk

REST API

No SDK installation needed, call REST API endpoints directly.

Code Examples

Initialize Client

const CyberNex = require('@cybernex/sdk'); const client = new CyberNex({ apiKey: 'YOUR_API_KEY', apiUrl: 'https://api.cybernex.com' });

Get Platforms

// Get all connected platforms const platforms = await client.platforms.list(); console.log(platforms); // Output: [ // { id: 'facebook', name: 'Facebook', connected: true }, // { id: 'instagram', name: 'Instagram', connected: true }, // ... // ]

Create Campaign

// Create a new campaign const campaign = await client.campaigns.create({ name: 'Summer Promotion', platforms: ['facebook', 'instagram'], startDate: '2026-06-01', endDate: '2026-08-31', budget: 5000 }); console.log(campaign.id);

Best Practices

Store API Key Securely

Never hardcode API Key in code, use environment variables.

Handle Errors

Implement proper error handling and retry logic.

Optimize Performance

Use caching and batch requests for efficiency.

Need Help?

Check the complete API documentation or contact our support team.