# How Pallyy went from idea to $8K acquisition in 1 week with Dub

Learn how Pallyy launched dm.new, a Twitter DM link shortener, and grew it to a $8K acquisition in just 1 week using Dub's link infrastructure.

- Company: [Pallyy](https://pallyy.com)
- About: Pallyy is a social media management platform that helps businesses manage their social media presence and grow their brand.
- Industry: Marketing, SaaS
- Company size: 1-10
- Founded: 2019
- Dub plan: Business
- Published: April 5, 2024
- Source: https://dub.co/customers/pallyy

## Results

- **1.5K** links created in 48 hours
- **$8K** acquisition
- **1 week** time to sale

[Pallyy](https://pallyy.com) is a social media management platform that lets you manage your social posts, customer support, all in one place.

Tim Bennetto, the founder of Pallyy, has always relied on building [free tools](https://pallyy.com/tools) as a growth lever for his business. Whether it's an [AI Image Caption generator](https://pallyy.com/tools/image-caption-generator) or a [Twitter bio generator](https://pallyy.com/tools/twitter-bio-generator), Tim has always been able to use these tools to [drive organic SEO traffic](https://twitter.com/Timb03/status/1751370112299643277) and acquire new customers.

## The idea: Turn dm.new into a Twitter DM link shortener

When Tim acquired the `dm.new` domain, he knew he wanted to turn this into a free tool that would help people shorten their Twitter DM links.

The idea was simple: create a tool that would allow users to **shorten their Twitter DM links** and make them easier to share.

However, the execution was a bit more complicated. Tim needed a reliable link infrastructure that would allow him to create short links, track clicks, and provide analytics – all at-scale and in real-time.

> Dub's link infrastructure allowed us to go from idea, to execution, all the
> way to a $8K acquisition in just one week.
>
> Tim Bennetto, Founder, Pallyy

He could build this infrastructure himself, but that would take valuable time and resources that he didn't want to waste. Instead, he turned to [Dub.co](https://dub.co/)'s link infrastructure and was able to get `dm.new` up and running in no time.

## The execution: Building dm.new with Dub's TypeScript SDK

Tim used [Dub's TypeScript SDK](https://d.to/sdk) to build `dm.new` in [less than 1 hour](https://twitter.com/Timb03/status/1767066437691347447). The SDK allowed him to create short links, track clicks, and provide analytics – all with just a few lines of code:

```typescript title="create-link.ts"
import { Dub } from "dub";

const dub = new Dub();

export default defineEventHandler(async (event) => {
  const body = await readBody(event);

  try {
    await dub.links.create({
      url: `https://twitter.com/direct_messages/create/${body.username}`,
      key: body.url,
      publicStats: true,
    });
  } catch (err) {
    if (err instanceof HTTPError) {
      if (err.response.statusCode === 409) {
        throw new Error("Already taken, try another.");
      }
    }
  }
});
```

The code is also fully open-source, so you can [check it out on GitHub](https://git.new/dm) and see how everything works:

[https://github.com/deanmcpherson/dm.new](https://github.com/deanmcpherson/dm.new)

## The results: 1.5K links in 48 hours, $8K acquisition in 1 week

On March 10th, Tim launched `dm.new` to the world on Twitter:

[Post on X](https://x.com/i/status/1766656327072489576)

The tool quickly gained traction, with users [sharing](https://twitter.com/steventey/status/1766702280307245360) their shortened DM links and spreading the word about `dm.new`. Within 48 hours, over 1,500 links were created.

This caught the eye of [Dean McPherson](https://twitter.com/dean_mcpherson), who saw the potential of `dm.new` as a new link-in-bio service that is being built from the ground up to facilitate real, sincere, human to human direct messaging.

[Post on X](https://x.com/i/status/1769621686612340883)

Dean reached out to Tim, negotiations ensued, and on March 18th – within a week of its launch – `dm.new` was acquired for $8,000.

> We couldn't have built dm.new in such a short period of time without Dub,
> and we're excited to keep using Dub for our future projects at Pallyy.
>
> Tim Bennetto, Founder, Pallyy

## Build your own link shortener with the Dub SDK

Want to build your own link shortener with [Dub's TypeScript SDK](https://npmjs.com/package/dub)? We created a simple template – affectionately dubbed `dublet` – to help you get started:

[https://github.com/dubinc/dublet](https://github.com/dubinc/dublet)

Have any questions? Feel free to [send us an email](mailto:support@dub.co?subject=Questions%20about%20Dub.co%20TypeScript%20SDK) or [tweet at us](https://twitter.com/dubdotco) – we'd love to help!

See [more customer stories](https://dub.co/customers.md).
