# 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**](/en/faq/general-questions/how-can-i-get-my-discloud-api-token.md).

<figure><img src="/files/chZHi9HrtHDLQkZ2Yg58" 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`**](/en/configurations/discloud.config.md) (configuration file).
  * Necessary **dependencies** for your programming language (e.g., `package.json` for Node.js, `requirements.txt` for Python).
* **Check the** [**Languages Guide**](/en/development-environment/supported-languages.md) to make sure your project is properly structured.
  {% endstep %}

{% step %}
Uploading your application.

<figure><img src="/files/6qASNtoTDzrUP5cQlOAn" 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`](/en/configurations/.discloudignore.md) file in the root of your project.

***

## **❓ Still need help?**

Check the [**FAQ Section**](/en/faq/where-to-get-help.md) or join our [**Discord Server**](https://discord.discloudbot.com/) for support.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.discloud.com/en/how-to-host-using/visual-studio-code.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
