# Visual Studio Code

The [**Discloud VSCode Extension**](https://marketplace.visualstudio.com/items?itemName=discloud.discloud) allows you to **deploy and manage your applications** directly from [**Visual Studio Code**](https://code.visualstudio.com/), eliminating the need to use a web dashboard or Discord bot commands.

***

## 🛠️ Installing the Discloud Extension

{% stepper %}
{% step %}
Open VSCode on your computer.
{% endstep %}

{% step %}
Go to the Extensions Tab (`Ctrl + Shift + X`).

* In the search bar, type: **"Discloud"** then click **"Install"**.
  {% endstep %}
  {% endstepper %}

***

## 🔑 Logging into Discloud

Before deploying, you need to log into your **Discloud account.**

{% stepper %}
{% step %}
Click on the **Discloud Extension Tab** in the **VSCode sidebar**.
{% endstep %}

{% step %}
Click **"Submit your Discloud token"** and enter your [**Discloud API Token**](https://docs.discloud.com/en/faq/general-questions/how-can-i-get-my-discloud-api-token).

<figure><img src="https://4206165266-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FETNoAt35DpCBhinHpaRx%2Fuploads%2FOfYNaGle1sBuSLpttP0H%2Fundefined%20-%20Imgur.gif?alt=media&#x26;token=844241fe-de1b-4aec-bd85-9c907e29f158" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Once logged in, your **Discloud applications** will appear inside the extension tab.
{% endstep %}
{% endstepper %}

***

## 🚀 Deploying Your Application

With the **VSCode Extension**, you can deploy your app in just a few clicks!

{% stepper %}
{% step %}
Preparing your project.

* Ensure your project contains all required files:
  * [**`discloud.config`**](https://docs.discloud.com/en/configurations/discloud.config) (configuration file).
  * Necessary **dependencies** for your programming language (e.g., `package.json` for Node.js, `requirements.txt` for Python).
* **Check the** [**Languages Guide**](https://docs.discloud.com/en/development-environment/supported-languages) to make sure your project is properly structured.
  {% endstep %}

{% step %}
Uploading your application.

<figure><img src="https://4206165266-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FETNoAt35DpCBhinHpaRx%2Fuploads%2FHSOo6k32GI78ZOhHfNMX%2Fundefined%20-%20Imgur%20(1).gif?alt=media&#x26;token=8ec6adfe-8f78-4037-84ad-8ee02b7b3d91" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

***

## 📌 Tips & Tricks

### 📂 **Using `.discloudignore` to Exclude Files**

If you want to **exclude certain files or directories** from being uploaded, you can create a [`.discloudignore`](https://docs.discloud.com/en/configurations/.discloudignore) file in the root of your project.

***

## **❓ Still need help?**

Check the [**FAQ Section**](https://docs.discloud.com/en/faq) or join our [**Discord Server**](https://discord.discloudbot.com/) for support.
