How to Upload a Letter in ChatGPT to Azure Storage Account and Share the URL
Published: 2023-04-03 13:23:18


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/786xdh96eeajyaoi1e80.png)

Azure Storage Account is a storage account that is a resource that acts as a container that groups all the data services from Azure storage (Azure blobs, Azure files, Azure Queues, and Azure Tables). This helps us manage all of them as a group. The policies we specify while creating the storage account or making changes after the creation applies to all the services inside the account. Deleting a storage account deletes all the storage services deployed and the data stored inside it.
The storage account provides a unique namespace for your Azure Storage data that's accessible from anywhere in the world over HTTP or HTTPS. Data in your storage account is durable and highly available, secure, and massively scalable.

ChatGPT(Chat Generative Pre-trained Transformer)is the latest breakthrough in AI research.It is tweaked to perform a variety of tasks — from responding to inquiries to producing text pieces and even reciting poetry — ChatGPT has quickly become one of the most powerful tools available for natural-language processing.
ChatGPT stands out from other AI chatbots due to its exceptional skill in comprehending and responding to human language. This is attributed to its extensive training on a dataset of human language, granting the bot an uncanny ability for replicating how humans converse with one another. Thus, ChatGPT not only understands but also responds articulately and naturally when asked questions or prompted.

**Create a Storage Account:
Steps To Create Azure Storage Account:**

Step 1:

Visit portal.azure.com, login or sign up if you don't have an account, you can get a free account at azure.microsoft.com/en-us/free/


Step 2:

 Click on Storage Accounts or select Storage accounts from the left portal menu.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e4lxx1lvao6wxaskxisz.png)


Step 3:

Click on "Create"

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q04kqs02ktt0mk6ff6yz.png)


Step 4:

Subscription: Choose the subscription where you wish to create the resource. 
Resource group: Choose the resource group where you wish to create the resource. If you wish to create a new group click on create a new option.
Storage account name: Enter a globally unique storage account. 
Region: Select the location where you wish to create the account. 
Performance: Choose from standard or premium based on your requirements.
Click Review

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oaptuqk7zulr31yge21e.png)


Step 5:

Click on Create

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5cn1uhz937py143vx6sy.png)


Step 6:
Storage account is created

Click on 'Go to resource' to view

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kma57a258cwmgv1rjv2c.png)

Step 7:

Click on Containers

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qwagwf02j56507hcxxmp.png)


Step 8:

Click on "+ Containers"

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bvfclih2915f0wdu8422.png)


Step 9:

Name: Choose the name of the kind of document you want to share. We will use "mylovletter" for this demo.
Public access level: Change to Blob which allows you to share the document with anyone.
"Click on Create"

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wtbc8j8wir8ocz07p5jg.png)


Step 10:

Go to https://chat.openai.com/chat
In the chat session, write what you want ChatGPT to do for you. - For this demo, we will use 'Write a love letter to my mother'. Note that you can write whatever you want.
Press "Enter" to view result

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bxmwc8cvuw5jipiviz7f.png)


Step 11:

Click on the document you created to access it

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fl9pfy6ofqpmbeo9aevu.png)


Step 12:

Copy the result of your entry in chatGPT to Google docs or Microsoft Word and save data as PDF.
Save document in any file. Eg download, desktop or document file in your computer.
Go back to your Azure portal
Click on Upload
Drag and drop file or browse for file
Choose any name for your container
Upload

Step 13:

Click on Upload and the 'Upload blob' on the right pops out
Either drag and drop file or browse for file
Upload

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u5mmcrfwi2a4bn856gjy.png)


Step 14:

Click on your file and the right side of the screen pops out
Click and copy the link to share the URL

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kntxhpvvf5yfcd0ut7d4.png)

As simple as ABC!!!
You have successfully uploaded a letter to your Azure Storage Account and shared the linked.

Thank you for reading...