> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-whatsapp-login-extension/bitly-api.md).

# Bitly API

**Step 1:** Go to the below URL and create a new account or if an account exists then login.

<https://bitly.com/>&#x20;

**Step 2:** Once Login, Click on **Settings** Icon/Menu.

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FTTjZtTIqgj89BEltVjHB%2Fimage.png?alt=media&amp;token=f142cc4d-2d80-41f8-9304-7907f9dab833" alt=""><figcaption></figcaption></figure>

**Step 3:** After you need to Go to **Account settings -> Groups**. Then click on the Group Name.

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FHhMx4abBmFyDCURhtRU7%2Fimage.png?alt=media&amp;token=77fa7373-effa-456d-8340-093812c9f1ad" alt=""><figcaption></figcaption></figure>

**Step 4:** Here you can find the **Group name** and **Domain**. Copy it and paste it into your Magento 2 Bitly settings configuration.

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FWElDVj78Msgng2DZCZUt%2Fimage.png?alt=media&amp;token=8ae8050e-135c-40c3-a610-2874ada0cd9a" alt=""><figcaption></figcaption></figure>

**Step 5:** Now go to **Developer settings -> API** to generate Bitly token. Enter the current login user **password** and click on the **Generate Token** button to Get Access token.

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FhzvheBzY3tV6d8FPZgEO%2Fimage.png?alt=media&amp;token=1a66eb2e-ae1f-4841-895e-10f5f903a3fa" alt=""><figcaption></figcaption></figure>

You can copy the generated token and paste it into your Magento 2 Bitly settings configuration.
