Bitly
Bitly is a well-known URL shortener and link management platform and the Studio is providing users to experience and implement the features of the BItly platform in their micro apps with the help of Bitly Connector. You can now get groups and create shortened URLs.
Configuring API Connector in DronaHQ
A pop-up will display asking you to connect to your Bitly account. Authorize it and your Bitly connector will be ready

After successfully configuring and saving the connector settings, you can easily access your newly connected account by navigating to the connected accounts
list. You can find this option from the Connector -> Manage Account
section. This centralized location allows you to conveniently monitor and manage your connected accounts.
Supported API endpoints
Action | Description |
---|---|
GetGroups | Retrieve the list of groups associated with your Bitly account. |
GenerateShortLink | Create a shortened link using Bitly's URL shortening service. |
Using Bitly Connector
Create shortened URL
The main purpose of using the Bitly connector service is to create short URLs of long URLs. To do this we have a dedicated endpoint called GenerateShortLink.
- We have a microapp with several controls.
App layout - On the trigger event of the button, we will add a server-side action of Bitly connector with
GenerateShortLink
endpoint then select the configured account. - Provide the necessary details like keywords for
long URLs
andgroup GUID
. - Add a variable to use the response and then click
Finish
. - Add another event to set the received output from the connector to JSON viewer.
- Preview the app and you will get your shortened URL of a long URL.
Shortened URL
Get group(s) details
You can view the details like – account creation date, GUID, organization name, and more - of the user account(s) present in the ID, we have to go to the data-bind section of our control and select the Bitly connector, select GetGroups
endpoint, and finally select our configured account.
Do a refresh response, then bind the keys as columns for the control and click Test & Finish
.
