---
title: "How to Integrate a Branded Link Shortener With Slack"
url: https://uselinkpilot.com/blog/how-to-integrate-a-branded-link-shortener-with-slack
description: "Set up a branded domain, install a Slack app that shortens links and turns pasted passwords into one-time links, fix previews and read the clicks."
lang: en
---

Link Tracking (https://uselinkpilot.com/blog/category/link-tracking)

# How to integrate a branded link shortener with Slack

Set up a branded domain, install a Slack app that shortens links and turns pasted passwords into one-time links, fix previews and read the clicks.

LinkPilot Team (https://uselinkpilot.com/author/linkpilot-team) · The people who build and run LinkPilot at TetraCore, LLC October 25, 2026 · About LinkPilot (https://uselinkpilot.com/about)

Most links a team shares are shared in Slack. If the shortener lives in a separate tab, people skip it, paste the long URL (https://uselinkpilot.com/glossary#long-url), and the click data never exists. Integrating a branded link shortener with Slack fixes that by putting link creation where the sharing already happens.

This guide uses LinkPilot for Slack as the worked example, because that is the one we can describe exactly. The steps are: set up the branded domain (https://uselinkpilot.com/glossary#branded-domain), install the app, learn the three commands, sort out previews, and read the clicks. Alternatives for teams that would rather script it are at the end.

## What the integration should give you

A useful Slack integration does four things. Judge any shortener's app against them.

- **Shorten in place.** Turn a long URL into a short, tracked link from the message box, without opening another tool.
- **Keep secrets out of channels.** Passwords get pasted into Slack constantly. A good integration replaces them with one-time links so the text never sits in history.
- **Behave with previews.** Slack unfurls links. The short link (https://uselinkpilot.com/glossary#short-link) should either show a correct preview of the destination or be easy to post without one.
- **Count every click** in the same analytics as links made elsewhere, with source, device and country, so Slack-shared links are not a blind spot.

## Step 1: set up your branded domain

A branded domain such as `go.yourbrand.com` is optional for shortening but it is the point of a branded shortener, and it is easiest to do before people start creating links.

1. In LinkPilot, open Domains and add the subdomain (https://uselinkpilot.com/glossary#subdomain) you want to use.
2. Add the CNAME record (https://uselinkpilot.com/glossary#cname-record) it gives you at your DNS provider.
3. Wait for verification. LinkPilot provisions the TLS certificate (https://uselinkpilot.com/glossary#tls-certificate) through Cloudflare, so there is nothing to upload.
4. Set the domain's defaults, such as the fallback destination for the bare domain and any branding on interstitial pages.

Custom domains are a Pro feature, with five domains included at $29 per month. Agency plans add per-client workspaces with a domain each. The how to shorten a URL (https://uselinkpilot.com/blog/how-to-shorten-a-url) guide has more on choosing a domain and slug (https://uselinkpilot.com/glossary#slug) conventions.

## Step 2: install LinkPilot for Slack

The install takes a couple of minutes and is per workspace, with each person connecting their own account afterwards.

1. Go to LinkPilot for Slack (https://uselinkpilot.com/slack) and press Add to Slack.
2. Approve the app. It asks for one permission, the `commands` scope, which registers two slash commands and one message shortcut. It cannot read your channels or messages.
3. Run `/shorten` or `/secret` once. You get a private Connect LinkPilot prompt where you paste your own LinkPilot API key. API keys are on every plan, including Free.
4. Run the command again. Setup is done, once per person.

Because each person connects their own key, links created from Slack land in that person's LinkPilot account with its plan limits and history. Uninstalling the app removes every stored connection for the workspace.

## Step 3: shorten and share from Slack

There are three ways to use the app once it is connected.

**`/shorten` a URL.** Type

```
/shorten https://example.com/a/very/long/page?utm_source=slack
```

and the app replies with a short, tracked link. Paste it into the channel or thread. Clicks are recorded against the link like any other in your account.

**`/secret` a password.** Type

```
/secret hunter2 --ttl 1h
```

and the app replies only to you with a one-time link. The channel sees the link if you choose to post it, never the text. The default lifetime is 24 hours; `--ttl` accepts 1h, 6h, 24h or 7d. The link is destroyed the first time it is opened.

**Send as secret link.** Someone has already pasted a database password into a channel. Open the message's menu, choose Send as secret link, and the password is replaced with a one-time link. The channel keeps the link only.

One honesty note on `/secret`: the text passes through Slack and through LinkPilot's Slack service, which encrypts it in memory before storage. For a secret that must never leave your own device, create the link in the LinkPilot web app, where encryption happens in your browser, and paste the link into Slack.

## Step 4: fix the previews

Slack unfurls a link by fetching the page it points to and reading its Open Graph tags. A short link redirects to the destination, so the preview shows the destination's title, description and image. Three things go wrong:

- **No preview.** The destination has no `og:title` or `og:image`, or blocks Slack's fetcher. Fix the tags on the destination page and check them with the Open Graph preview tool (https://uselinkpilot.com/tools/open-graph-preview).
- **A stale preview.** Slack caches unfurls. Changing the tags does not refresh an unfurl already shown; a new link to the same page will.
- **Too much preview.** For internal links where the card is noise, wrap the URL in angle brackets or ask people to remove the unfurl. How to turn off link previews (https://uselinkpilot.com/blog/how-to-turn-off-link-previews) covers the per-workspace settings.

A secret link does not unfurl into its contents. The page Slack fetches is the reveal page, and the decryption key sits in the URL fragment that is never sent to servers, so the preview shows nothing sensitive and does not consume the secret.

## Step 5: read the clicks

Every link created through Slack shows up in the same Links list and analytics as the rest of your account. For each click LinkPilot records the referrer, the device type and the country, and filters out known bots, so a link shared in a channel gives you a real count of people rather than Slack's own preview fetches.

A few habits make the data useful:

- **Agree a slug convention.** `go.brand.com/oct-launch` is readable in a channel and in a report. Random slugs are neither.
- **Add UTM parameters to the destination** before shortening when the click should show up in your web analytics as well. The UTM builder (https://uselinkpilot.com/tools/utm-builder) does this without typos.
- **Compare like with like.** A link posted in a 200-person channel and one posted in a DM are not comparable on clicks alone.

The modern guide to link tracking (https://uselinkpilot.com/blog/modern-link-tracking) covers what is recorded on each click and what is not.

## Other ways to connect

Teams that want Slack to create links automatically, for example from a form submission or a new entry in a CMS, can use the LinkPilot API and webhooks rather than the slash commands. The developers page (https://uselinkpilot.com/developers) documents the endpoints for creating links and the signed webhooks that fire on events, so a workflow tool or a small script can create the link and post it to a channel. The API is on every plan.

Whichever route you take, the test is the same: create a link from inside Slack, click it from a phone, and confirm the click appears in analytics under the right link. If those three steps work, the integration works.

## Related reading

- How to shorten a URL (free, with a custom slug or your own domain): https://uselinkpilot.com/blog/how-to-shorten-a-url
- Why your links look broken on LinkedIn (and how to fix Open Graph tags): https://uselinkpilot.com/blog/fix-open-graph-link-previews
- How to turn off link previews in Slack, Discord, iMessage and Outlook: https://uselinkpilot.com/blog/how-to-turn-off-link-previews
- The modern guide to link tracking: https://uselinkpilot.com/blog/modern-link-tracking

## Tools for this article

Free URL Shortener

Turn a long URL into a short one with the slug you choose.
https://uselinkpilot.com/tools/url-shortener

Also for: your TikTok bio (https://uselinkpilot.com/tools/url-shortener/tiktok-bio) · your Instagram bio (https://uselinkpilot.com/tools/url-shortener/instagram-bio) · LinkedIn posts and articles (https://uselinkpilot.com/tools/url-shortener/linkedin-post) · X and Twitter campaigns (https://uselinkpilot.com/tools/url-shortener/twitter)

Open Graph Checker

See the tags behind a link and the card they produce.
https://uselinkpilot.com/tools/open-graph-preview

Also for: LinkedIn shares (https://uselinkpilot.com/tools/open-graph-preview/linkedin) · Slack unfurls (https://uselinkpilot.com/tools/open-graph-preview/slack) · X / Twitter Cards (https://uselinkpilot.com/tools/open-graph-preview/twitter) · Facebook shares (https://uselinkpilot.com/tools/open-graph-preview/facebook) · Discord embeds (https://uselinkpilot.com/tools/open-graph-preview/discord) · WhatsApp chats (https://uselinkpilot.com/tools/open-graph-preview/whatsapp) · Telegram messages (https://uselinkpilot.com/tools/open-graph-preview/telegram) · iMessage rich links (https://uselinkpilot.com/tools/open-graph-preview/imessage)

Link Click Checker

See clicks, referrers and locations for a short link.
https://uselinkpilot.com/tools/link-analytics

Smart Link Suggestions

AI suggestions for naming, UTM hygiene, and branded domains.
https://uselinkpilot.com/tools/smart-link-suggestions

## Frequently asked questions

### What does a Slack link shortener integration do?

### Do I need a custom domain to shorten links in Slack?

### Will a shortened link show a preview in Slack?

### Does the channel ever see a secret shared with /secret?

### Do we share one LinkPilot account across the Slack workspace?

### What permissions does the Slack app need?

## Run smarter links with LinkPilot

Tracking, UTMs, QR codes, AI insights, and white-label reporting — in one workspace. Free to start.

Create your free account (https://uselinkpilot.com/signup)

## Read next

Link Tracking

### How to Turn Off Link Previews in Slack, Discord, iMessage and Outlook

How to remove or disable link previews in Slack, Discord, iMessage and Outlook, and why a preview fetch matters when you send a one-time link.
https://uselinkpilot.com/blog/how-to-turn-off-link-previews

Link Tracking

### How to Shorten a URL (Free, With a Custom Slug or Your Own Domain)

How to shorten a URL in seconds: pick the slug, track the clicks, add a password or expiry, and move to your own domain when the link carries your brand.
https://uselinkpilot.com/blog/how-to-shorten-a-url

Security

### How to Create a Temporary Secure Link for Sharing Files

Pick the right temporary link for the file, create one that expires and burns after one download, and use a secret sharing tool with file attachments safely.
https://uselinkpilot.com/blog/how-to-create-a-temporary-secure-link-for-sharing-files

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "@type": "SoftwareApplication",
    "@id": "https://uselinkpilot.com/#software",
    "name": "LinkPilot",
    "applicationCategory": "BusinessApplication",
    "operatingSystem": "Web",
    "description": "LinkPilot is a secure link management platform for creating branded short links, tracking engagement, and sharing secrets with expiring, protected, self-destructing links.",
    "url": "https://uselinkpilot.com",
    "offers": [
      {
        "@type": "Offer",
        "name": "Free",
        "price": "0",
        "priceCurrency": "USD",
        "url": "https://uselinkpilot.com/pricing"
      },
      {
        "@type": "Offer",
        "name": "Pro",
        "price": "29",
        "priceCurrency": "USD",
        "priceSpecification": {
          "@type": "UnitPriceSpecification",
          "price": "29",
          "priceCurrency": "USD",
          "billingDuration": "P1M"
        },
        "url": "https://uselinkpilot.com/pricing"
      },
      {
        "@type": "Offer",
        "name": "Agency",
        "price": "299",
        "priceCurrency": "USD",
        "priceSpecification": {
          "@type": "UnitPriceSpecification",
          "price": "299",
          "priceCurrency": "USD",
          "billingDuration": "P1M"
        },
        "url": "https://uselinkpilot.com/pricing"
      },
      {
        "@type": "Offer",
        "name": "Agency Plus",
        "price": "799",
        "priceCurrency": "USD",
        "priceSpecification": {
          "@type": "UnitPriceSpecification",
          "price": "799",
          "priceCurrency": "USD",
          "billingDuration": "P1M"
        },
        "url": "https://uselinkpilot.com/pricing"
      },
      {
        "@type": "Offer",
        "name": "Enterprise",
        "priceSpecification": {
          "@type": "PriceSpecification",
          "priceCurrency": "USD"
        },
        "url": "https://uselinkpilot.com/pricing"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "@type": "Organization",
    "@id": "https://uselinkpilot.com/#organization",
    "name": "LinkPilot",
    "alternateName": "LinkPilot by TetraCore",
    "url": "https://uselinkpilot.com",
    "contactPoint": {
      "@type": "ContactPoint",
      "contactType": "customer support",
      "email": "support@uselinkpilot.com",
      "url": "https://uselinkpilot.com/support"
    },
    "parentOrganization": {
      "@type": "Organization",
      "@id": "https://tetracorehq.com/#organization",
      "name": "TetraCore",
      "url": "https://tetracorehq.com/"
    },
    "logo": {
      "@type": "ImageObject",
      "url": "https://uselinkpilot.com/logo-512.png",
      "width": 512,
      "height": 512
    },
    "description": "LinkPilot is a secure link management platform for creating branded short links, tracking engagement, and sharing secrets with expiring, protected, self-destructing links.",
    "sameAs": [
      "https://x.com/uselinkpilot",
      "https://www.linkedin.com/company/uselinkpilot",
      "https://facebook.com/uselinkpilot",
      "https://github.com/TetraCoreHQ/linkpilot-cli",
      "https://github.com/TetraCoreHQ/linkpilot-mcp",
      "https://www.npmjs.com/package/linkpilot",
      "https://www.npmjs.com/package/@uselinkpilot/sdk",
      "https://www.npmjs.com/package/@uselinkpilot/mcp",
      "https://chromewebstore.google.com/detail/linkpilot-short-links-and/mnmppadihpcncicldpkmgknhnjkondad"
    ]
  },
  {
    "@context": "https://schema.org",
    "@type": "WebSite",
    "name": "LinkPilot",
    "url": "https://uselinkpilot.com",
    "potentialAction": {
      "@type": "SearchAction",
      "target": "https://uselinkpilot.com/blog?q={search_term_string}",
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://uselinkpilot.com/"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Blog",
        "item": "https://uselinkpilot.com/blog"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "How to Integrate a Branded Link Shortener With Slack",
        "item": "https://uselinkpilot.com/blog/how-to-integrate-a-branded-link-shortener-with-slack"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "@type": "BlogPosting",
    "@id": "https://uselinkpilot.com/blog/how-to-integrate-a-branded-link-shortener-with-slack#article",
    "headline": "How to Integrate a Branded Link Shortener With Slack",
    "description": "Set up a branded domain, install a Slack app that shortens links and turns pasted passwords into one-time links, fix previews and read the clicks.",
    "datePublished": "2026-10-25",
    "dateModified": "2026-10-25",
    "image": "https://uselinkpilot.com/logo-512.png",
    "author": {
      "@type": "Organization",
      "@id": "https://uselinkpilot.com/author/linkpilot-team#organization",
      "name": "LinkPilot Team",
      "url": "https://uselinkpilot.com/author/linkpilot-team"
    },
    "publisher": {
      "@type": "Organization",
      "name": "LinkPilot",
      "url": "https://uselinkpilot.com",
      "logo": {
        "@type": "ImageObject",
        "url": "https://uselinkpilot.com/logo-512.png",
        "width": 512,
        "height": 512
      }
    },
    "mainEntityOfPage": {
      "@type": "WebPage",
      "@id": "https://uselinkpilot.com/blog/how-to-integrate-a-branded-link-shortener-with-slack"
    }
  },
  {
    "@context": "https://schema.org",
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "What does a Slack link shortener integration do?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "It lets people create short, tracked links from inside Slack instead of switching to a dashboard. LinkPilot for Slack adds a /shorten command for that, plus a /secret command and a message shortcut that replace pasted passwords with one-time links."
        }
      },
      {
        "@type": "Question",
        "name": "Do I need a custom domain to shorten links in Slack?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "No. Links work on LinkPilot's default domain. A branded domain makes them recognisable to your audience and is set up once in LinkPilot by adding a CNAME record; TLS is provisioned for you."
        }
      },
      {
        "@type": "Question",
        "name": "Will a shortened link show a preview in Slack?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Slack builds the preview from the destination page's Open Graph tags, which the short link redirects to. If the preview is missing or wrong, fix the tags on the destination and check them with a preview tool."
        }
      },
      {
        "@type": "Question",
        "name": "Does the channel ever see a secret shared with /secret?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "No. /secret replies only to the person who ran it. The channel sees a link, and only if that person chooses to post it. The text is never posted and never sits in channel history."
        }
      },
      {
        "@type": "Question",
        "name": "Do we share one LinkPilot account across the Slack workspace?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "No. Each person connects their own LinkPilot API key the first time they run a command, so limits, links and history stay per person. API keys are available on every plan, including Free."
        }
      },
      {
        "@type": "Question",
        "name": "What permissions does the Slack app need?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "One bot scope, commands. It registers the two slash commands and the message shortcut. The app cannot read your channels or messages; the shortcut only receives the single message you choose."
        }
      }
    ]
  }
]
```