---
title: Setting up URL shorteners
related:
  - https://docs.kentico.com/13/integrating-3rd-party-systems/integrating-social-media/posting-to-social-media.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

URL shorteners allow you to access long URLs using a shorter link. A URL shortener takes a full link URL and creates an alias for the link on a server with a short domain name (such as _http://bit.ly/1sNZMwL_). URL shorteners can also count various statistics, such as the number of clicks on a particular link.

Xperience allows you to use URL shorteners for links that you paste into text when [posting to social media](https://docs.kentico.com/13/integrating-3rd-party-systems/integrating-social-media/posting-to-social-media.md). Xperience integrates the following URL shorteners:

- **Bitly**
- **TinyURL.com**

By default, users can use TinyURL.com. Bitly requires setup.

## Setting up the Bitly shortener

Bitly requires applications that use its services to authenticate themselves. You must create an account on <https://bitly.com/> and register your API login and API key into the system.

> **Note:** You must have the **Global administrator** [privilege level](https://docs.kentico.com/13/managing-users/user-management.md) to do this.

1. Sign up or log in to <https://bitly.com/>.
2. Open the **Settings** menu in the upper right corner.
3. Click **Settings** > **Advanced Settings** > **API Support**.
4. Copy the **Login** and **API Key** information.
5. Open the Xperience administration interface.
6. Open the **Settings** application and navigate to the **Social media -> URL shorteners** category.
7. Paste your **Login** and **API Key** values into the corresponding settings.
8. **Save** the settings.

Bitly now appears in the selection of URL shorteners when creating a new post, tweet or company update in the **Facebook**, **Twitter** or **LinkedIn** application.
