Sign up & get your API key
Create an Opinly account and grab the API key + CDN namespace the SDK needs.
Before you install anything, you need an Opinly account and two values: an API key and your CDN namespace.
1. Create an account
Sign up for Opinly and create your company. Generate at least one blog post in the Content dashboard so you have something to render.
2. Get your credentials
Open Settings → Developers:
- API key — click Create API key, give it a name, and copy it. It looks like
sk-…. You'll only see it once, so store it safely (you'll put it in an environment variable). - CDN namespace — a short identifier shown on the same page. It tells the SDK where your images live on the Opinly CDN.
# .env
OPINLY_API_KEY="sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"Keep your API key on the server. The SDK fetches content server-side (in a Server
Component, load function, or useAsyncData), so the key is never exposed to the browser.
3. Pick your framework
You're ready to install. Either follow the Quickstart for the fastest path, or jump straight to your framework guide: