Last updated: December 19, 2024

<span aria-hidden="true" id="introducing-the-tusstore-robot-for-secure-file-storage"></span>

# Introducing the /tus/store Robot for secure file storage

![Joseph Grabski](/assets/images/teammates/joseph2.png?dpl=dpl_6nhQNS5wkVkPZWuKMzXcWrAHNJL5)

**Joseph Grabski**

Content Lead · Rochester, United Kingdom · Show bio

[](https://x.com/joe%5Fgrabski)[](https://github.com/Missing-Tech)

As has been a bit of a theme lately, we're introducing a new Robot today: the[/tus/store](/docs/robots/tus-store.md) Robot.[/tus/store](/docs/robots/tus-store.md) is a new export Robot that lets you export your files to any server that supports the [Tus protocol⁠](https://tus.io/) – allowing your files to be resumably uploaded to their destination.

![Retro-futuristic teal and cream poster with the words 'tus store'.](/_next/static/immutable/media/opengraph-image.1ibxod-k2vg-6.png)

<span aria-hidden="true" id="what-is-tus"></span>

## What is Tus?

Tus is a powerful and robust upload protocol that enables resumable file uploads, allowing it to handle interruptions seamlessly. This makes it ideal for users with poor or unstable internet connections. Tus is well-supported by various platforms, including[Supabase](/casestudies/2023/08/supabase.md), and offers enhanced security for file transfers.

If you're looking to sink your teeth into some of the technical details behind the protocol, as well as how to add Tus support to your server, we recommend taking a look at the[Tus website⁠](https://tus.io/).

<span aria-hidden="true" id="using-tusstore"></span>

## Using /tus/store

For those who are eager to get stared though, lets go through a Template using the[/tus/store](/docs/robots/tus-store.md) Robot.

```json
{
  "steps": {
    ":original": {
      "robot": "/upload/handle"
    },
    "resize": {
      "use": ":original",
      "robot": "/image/resize",
      "width": "250",
      "height": "250",
      "resize_strategy": "fillcrop",
      "result": true,
      "imagemagick_stack": "v3.0.1"
    },
    "export": {
      "use": [":original", "resize"],
      "robot": "/tus/store",
      "endpoint": "https://tusd.tusdemo.net/files/"
    }
  }
}

```

In the Template above, we first resize an image and then export it to the Tus demo endpoint using the [/tus/store](/docs/robots/tus-store.md) Robot.

Thankfully, this endpoint doesn't require any credentials to be passed along with the request. However, that is not always the case. Sometimes, the destination server will require extra information about the file's origin. If your endpoint requires credentials, you can include them in the request using the `credentials` parameter, which you can create in the same way as with any other export Robot.

First, head to the [Template Credentials page](/c/template-credentials/) and create a new set of third-party credentials.

As the service, select `HTTP/HTTPS`, and give the credentials a memorable name. Then in the "Headers" section, you can add any values that your target destination requires to perform the upload. It should look similar to the screenshot below.

![The Transloadit Credentials page open while editing a new set of HTTPS credentials](/_next/static/immutable/media/2023-11-tus-store-credentials.3g9gh10m6_e1f.png)

Now you should be equipped with everything you need to get started using the[/tus/store](/docs/robots/tus-store.md) Robot. For a comprehensive look at everything available to you with the Robot, check out the[documentation](/docs/robots/tus-store.md).

[#assembly](/blog/tags/assembly.md)[#tus-store-robot](/blog/tags/tus-store-robot.md)[#walkthrough](/blog/tags/walkthrough.md)

### 👩‍💻 Join 20k+ developers

Sign up for our [monthly newsletter](/newsletters.md) to receive direct links to 3 exclusive tech — and 2 product updates. No less, no more.

Your email:

Get access

## File uploading and encoding. Made simple.

Transloadit streamlines file handling for developers, trusted by brands like Coursera and The New York Times. We’re known for a reliable API, top-notch support, and a strong commitment to open source, with projects like [Uppy⁠](https://uppy.io) and [Tus⁠](https://tus.io) setting standards in file processing.

[Sign up](/c/)[Book a Demo](https://survey.typeform.com/to/kRg47Xi5)

No credit card needed · 5 GB included in the free plan

Cancel anytime
