QRdx
HelpGuidesDevelopersReact librarySelf-hosting

Short links and file pickers

Shorten a QR code's link with your own Bitly, Rebrandly or Short.io account, or encode a Dropbox share link.

Connect an account in Settings → Integrations and it shows up in the QR editor's URL type, in the Use a link from… menu beside the Website address field. Under Your accounts, each service says what it does:

  • Shorten: Bitly, Rebrandly or Short.io. Create a link under Create new, or pick one you already have under Use existing. The QR code encodes that short link, so you can change where it points later in that service, and it counts the clicks.
  • File: Dropbox. Browse or search, then pick a file or folder. QRdx creates the item's share link and the QR code encodes it.

Services you haven't connected yet are behind Connect an account at the bottom of the same menu.

Hosted pages can use cloud files too: PDF, audio, video and download blocks get From Dropbox next to the upload buttons.

Integrations belong to your user account. Tokens and API keys are stored encrypted, and you can disconnect at any time.

ServiceHow you connectDomainsBack-half
BitlySign in with Bitly, or paste a generic access token (Settings → Developer settings → API)bit.ly and your branded domainsPicked by Bitly
RebrandlyPaste an API key (Account → API keys)rebrand.ly and your branded domainsYour own slashtag, or random
Short.ioPaste a secret API key (Integrations & API → API)Your Short.io domainsYour own path, or random

Each integration's settings page shows your domains and lets you pick the default one for new links. You can still pick another domain per link.

Changing a destination later

QRdx creates the link; editing where it points happens in Bitly, Rebrandly or Short.io. Bitly only lets paid plans change a link's destination.

If you'd rather keep the destination editable in QRdx itself, with scan analytics, use a dynamic QR code instead.

File pickers

Dropbox encodes a shared link (created, or the existing one reused). Anyone with the link can open it, unless your team only allows team links.

When the link can't be opened by everyone, QRdx says so right after you pick, so a printed code doesn't send people to a sign-in page.

Files on hosted pages

For Dropbox, page blocks get a direct link to the file, so audio and video players and the PDF viewer can load it.

Disconnecting

Disconnecting deletes the stored token. For Dropbox, QRdx also revokes it with the service. For Bitly, Rebrandly and Short.io, delete the key in that service too if you no longer use it.

QR codes you already made keep working: they hold the short link or share link, not your token.

Self-hosting

Rebrandly and Short.io need nothing on the server. The others need an app in each service, with its client ID and secret in the environment; without them the integration shows "Not configured". Bitly still works without them, through pasted access tokens.

IntegrationVariablesRedirect URI
Bitly (sign-in)BITLY_CLIENT_ID, BITLY_CLIENT_SECRET<app url>/api/integrations/bitly/callback
DropboxDROPBOX_CLIENT_ID, DROPBOX_CLIENT_SECRET<app url>/api/integrations/dropbox/callback
OneDriveMICROSOFT_CLIENT_ID, MICROSOFT_CLIENT_SECRET<app url>/api/integrations/onedrive/callback
BoxBOX_CLIENT_ID, BOX_CLIENT_SECRET<app url>/api/integrations/box/callback
NotionNOTION_CLIENT_ID, NOTION_CLIENT_SECRET<app url>/api/integrations/notion/callback

<app url> is http://localhost:3000 in development and your production URL otherwise. Every integration also needs INTEGRATION_ENCRYPTION_KEY in production, which encrypts stored tokens and keys.

Scopes to request:

  • Dropbox: account_info.read, files.metadata.read, sharing.read, sharing.write
  • OneDrive: offline_access, Files.ReadWrite (Microsoft Graph needs write access to create sharing links)
  • Box: Read and write all files and folders (root_readwrite)
  • Bitly, Notion: no scopes; Notion asks the user which pages to share

Last updated on

On this page