Last updated: September 18, 2024

<span aria-hidden="true" id="introducing-the-azurestore-robot-for-microsoft-azure"></span>

# Introducing the /azure/store Robot for Microsoft Azure

![Charlie Macnamara](/assets/images/teammates/charlie.jpg?dpl=dpl_7YqXjmbyKGn3982dhjKQR4pU1LRf)

**Charlie Macnamara**

Technical Writer & Support Engineer · Scotland · Show bio

Recently, a post by Julian covered the new[/digitalocean/store](/docs/robots/digitalocean-store.md) Robot, showcasing a new file exporting provider compatible with Transloadit. As somewhat of a follow-up to that blog (and partly because I felt that Azure could do with some love and attention) we'll dive into the subject of Microsoft Azure containers and how to get them set up!

<span aria-hidden="true" id="the-azurestore-robot"></span>

## The /azure/store Robot

Using our [/azure/store](/docs/robots/azure-store.md) Robot you can use any Azure container of your choice to store all encoding results from an executed Assembly.

!\[The /azure/store Robot pulling a picture out of a Microsoft bucket}(./opengraph-image.png)

Containers grant you the benefits of consistency throughout environments. They can be run anywhere on different architectures, allow for a high degree of scalability and much more. All in all, they are great, especially since they are also compatible with Transloadit 😄

<span aria-hidden="true" id="setting-up-microsoft-azure"></span>

## Setting up Microsoft Azure

Start by navigating to the [Azure website⁠](https://azure.microsoft.com/) and sign in with your Microsoft details, then proceed to the [Azure portal⁠](https://portal.azure.com/) home page and go to**Storage accounts**. From there, click “Create storage account” and get started setting up your first Azure container.

Under **Project details**, create and select a resource group, then create a name for your storage account. In this showcase, I have gone with `azurestoredemo`. Please note down your chosen name if you’re following along with this guide, as it will be used later on in the Transloadit side of things.

![The Microsoft Azure 'Create storage account' page](/_next/static/immutable/media/1.141gakkb1p_go.png)

Next, select “Review + create” and wait for the storage account to process. Once initialized, under**next steps** select “Go to resource”.

Now we need to set up the way Azure can communicate with our Robot. For this, we need an access key, which can be located on the **Access Keys** tab on the left. We only need to take note of the first key in order to integrate with our Robots. Even still, make sure to never share your keys with anyone you don't want to give access to your account. If ever needed, reset your key as I have done after creating this post.

![The Microsoft Azure 'Access keys' page, with two keys visible](/_next/static/immutable/media/2.2tcr-2r8xm9gk.png)

With these steps done, we have almost finished on the Azure website. On the left bar, scroll to the**Blob services section** and select “Containers”. Click “+ Container” and choose a container name, I’ve gone with `azurestorecontainer`. Again, please note down this name for later use.

![The 'Create Containers' page, with the name set to 'azurestorecontainer' and the Public access level set to 'Private.](/_next/static/immutable/media/3.2x_jnnedqb1cu.png)

<span aria-hidden="true" id="creating-template-credentials"></span>

## Creating Template Credentials

With all the relevant information obtained, we can head over to the[Transloadit](/index.md) website and sign in. If you don't already have an account, go ahead and sign up. It's free to do so and gives you access to the full range of useful services we offer. You can even sign up with your GitHub account!

Once signed in, head to [Template Credentials](/c/template-credentials/). Under the option to select a third party service, select “Microsoft Azure” and paste in the information from your Azure account.

![The Transloadit Console Credentials page showing a new Azure Credential being made, using the key from earlier](/_next/static/immutable/media/4.0hlaoux5x0m23.png)

Hit save and take note of the Template Credentials name you have chosen, as we will be using it in the next step of this guide. In this case, I have called it `my_azure_credentials`.

<span aria-hidden="true" id="testing-the-assembly"></span>

## Testing the Assembly

Since we have our Template Credentials all set up, we can get round to making use of our newly created container! To do so, I have created the following Assembly Instructions:

```python
assembly.add_step('azure_upload', '/azure/store', {'credentials': 'my_azure_credentials'})

```

With our created Assembly Instructions, simply fit them into the pythonTemplate created below, so it can communicate with Transloadit.

```python
from transloadit import client

tl = client.Transloadit('YOUR_TRANSLOADIT_KEY','YOUR_TRANSLOADIT_SECRET')
assembly = tl.new_assembly()

# Add Instructions, e.g. resize image, or encode video
assembly = tl.new_assembly()
assembly.add_file(open('test-image.jpg', 'rb'))
assembly.add_step('azure_upload', '/azure/store', {'credentials': 'my_azure_credentials'})

assembly_response = assembly.create(wait=True)

print(assembly_response.data['assembly_id'])

```

<span aria-hidden="true" id="the-results"></span>

## The results

Once we run this Assembly, we can see it works perfectly! Returning back to our recently created container, we can see everything has worked just as intended.

![The Azure container showing the file we uploaded being stored](/_next/static/immutable/media/5.2n8i78i6c3vv6.png)

That brings us to the end of this guide, we hope you enjoyed it! Stay tuned for more upcoming posts and features brought to you from us here at Transloadit!

[#file-exporting-service](/blog/tags/file-exporting-service.md)[#azure-store-robot](/blog/tags/azure-store-robot.md)[#azure](/blog/tags/azure.md)[#blob](/blog/tags/blob.md)[#container](/blog/tags/container.md)[#digitalocean-store-robot](/blog/tags/digitalocean-store-robot.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

Cancel anytime
