How to Upload a Letter in ChatGPT to Azure Storage Account and Share the URL
Tags: chatgpt, tutorial, devops, cloud
Published: 2023-03-21 19:55:35

Azure storage account is an account that contains all Storage data objects, including containers, file shares, queues and tables. It provides a unique namespace for your Azure Storage data that's accessible from anywhere in the world over HTTP or HTTPS.

ChatGPT(Chat Generative Pre-trained Transformer) is a machine learning model that carries out natural language processing tasks driven by AI technology that allows you to have human-like conversations with a high level of accuracy. ChatGPT can answer questions, and assist with tasks such as composing emails - like the one in this demo -, essays, code etc.

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

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

Step 1:
I am assuming that by now, you already have your Azure Microsoft Account.
- Login into your Azure Portal

Step 2:
- Search and Click on Storage Accounts on your Portal
- Click Storage Account
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9olxbtpeyep66b1gya23.png)

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

Step 4:
- Subscription: Choose your subscription
- Resource Group: Choose resource
- Storage Account Name: Choose a unique name across all existing 
accounts in Azure
- Region: Choose your region
- Click Review

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

Step 5:
- Create
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7hoz82emph25rc7qt8ky.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/v6bh5csic6csd13bz7j3.png)

Step 7:
- Click on Containers
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nq7a5onztroe8qhnxa48.png)

Step 8:
- Click on '+ Containers' 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2q6hd98ztndqbng1cgtu.png)

Step 9:
- Name: Choose the name of the kind of document you want to share. We will use myapplicationletter for this demo.
- Public access level: Change to Blob which allows you to share the document with anyone.
- Create
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0c35r57otctmxuvqggh4.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 an application letter for a cloud computing role entry-role'. 
Note that you can write whatever you want.
- Press 'Enter' to view result
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gas68ze4e8srzc9xboaq.png)

Step 11:
- Click on the file to access
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a4a3ewm4kmn3vigo3dyr.png)

Step 12:
- Copy the result of your entry in chatGPT to 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/bglvx7b0d9ykuhqc953i.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/fukdz8ewtrl0j2iiee5f.png)

Congratulations!
You have successfully uploaded a letter to your Azure Storage Account and shared the linked.