Quick Start Guide

Get up and running with URI Social SDK in under 5 minutes. This guide will walk you through installation, authentication, and making your first API call.

Prerequisites
Before you begin, ensure you have the following
  • A URI Social account (sign up for free)
  • Node.js 18+ or Python 3.8+ installed
  • Your API key from the dashboard
1

Installation

npm install @urisocial/sdk

2

Initialize the SDK

Import the SDK and initialize it with your API key

import { URISocial } from '@urisocial/sdk';

const client = new URISocial({
  apiKey: process.env.URISOCIAL_API_KEY
});
3

Make Your First Request

Let's generate social media content for multiple platforms

async function generatePost() {
  try {
    const content = await client.content.generate({
      seedContent: 'Launch our new perfume line 🚀',
      platforms: ['instagram', 'facebook'],
      referenceImage: 'https://example.com/product.jpg'
    });

    console.log('Generated content:', content);
  } catch (error) {
    console.error('Error:', error.message);
  }
}

generatePost();

Need Help?

Reach out to our support team for assistance.