B
BlocLinks
/Docs
Dashboard →
Docs/Quickstart

Quickstart

Get BlocLinks running in your app in 5 minutes.

1

Create an account

Sign up at bloclinks.cc. You'll get an API key immediately after creating your first app.

2

Install the SDK

bash
npm install bloclinks-rn
3

Initialize in your app

Add this before your navigation renders:

App.tsx
import BlocLinks from 'bloclinks-rn'

// In your App.tsx (before navigation renders)
BlocLinks.init({
  apiKey: 'bl_live_YOUR_API_KEY',
})
4

Handle deep links

Call getDeepLinkPath() after init to get the deep link path, if any:

App.tsx
const deepPath = BlocLinks.getDeepLinkPath()
// e.g. "/product/123" or "/referral/abc"

if (deepPath) {
  navigation.navigate(routeFromPath(deepPath))
}
5

Create your first link

Go to bloclinks.cc/dashboard → Links → Create Link. Set a slug, add your App Store and Play Store URLs, save.

Your link is live at go.bloclinks.cc/your-slug

Done!

Share the link in your campaign. Every click and install will appear in your dashboard.