---
title: "How to Deploy an App Built with Devin Desktop (Windsurf) | Hostman Docs"
description: "Learn how to connect GitHub via MCP, push your Devin Desktop project, and deploy it on Hostman App Platform with automatic updates on every commit."
---

> For the complete documentation index for AI agents, see [llms.txt](https://hostman.com/llms.txt).

Devin Desktop (formerly Windsurf) lets you build applications using built-in AI agents you can choose from directly in the chat: Cascade, its successor Devin Local, or the cloud-based Devin Cloud. This guide walks through the setup using the Devin Local agent.

Follow these steps to connect GitHub, link it to Devin Desktop, and deploy your project on Hostman App Platform—so future updates go live automatically.

## Prerequisites

Before you start, make sure you have:

-   A project in [Devin Desktop](https://devin.ai/desktop/)
-   A [Hostman](https://hostman.com/signup/) account

You will also need a GitHub account. We’ll show you how to create it in Step 1.

## Step 1. Create a GitHub Account

This is where your code will live.

1.  Go to [GitHub](https://github.com/) and click **Sign up**.
2.  Register with Google, Apple, or email.

Once registered, you'll land on the [GitHub Dashboard](https://github.com/dashboard) with your new account.

![0902d2f9 709a 41df B496 De8fb6ff0a11.png](https://content.hostman.com/assets/1fb8456b-5bb6-4223-9231-66021cafbf3f.png?width=1999&height=1142)

_[GitHub](https://github.com/) Dashboard_

## Step 2. Create a GitHub Personal Access Token

This token lets your AI agent push code to GitHub for you.

1.  In GitHub, click your account icon in the top right corner.
2.  Go to **Settings** → **Developer settings** → **Personal access tokens** → **Tokens (classic)**.

![Image1](https://content.hostman.com/assets/a04834f1-5e3e-4550-b590-ab8857bcb883.png?width=1906&height=891)

_Creating a token in the [GitHub](https://github.com/) interface_

3.  Click **Generate new token**, then select **Generate new token (classic)**.
    
    GitHub may ask for your password or a confirmation code sent to your email. This is a standard security check.
    
4.  In the **Note** field, give the token a name (anything you'll recognize later).
5.  In the **Expiration** field, set how long the token should remain valid.
6.  Select these permissions:
    -   `repo`: to work with repositories 
    -   `user`: to access profile information 
    -   `admin:org`: only if you're using organization repositories 
    -   `delete_repo`: optional, if you want to delete repositories through MCP
7.  Click **Generate token**.

> [!NOTE]
> Copy your token now—GitHub only shows it once. Save it somewhere safe.
>
> If this token leaks, anyone can act as you on GitHub. If that happens, revoke it at [github.com/settings/tokens](https://github.com/settings/tokens) and make a new one.

## Step 3. Connect GitHub to Devin Desktop

This lets your agent create repos and push code without you touching git.

1.  Click **Devin – Settings** in the bottom right corner, then go to **Advanced Settings**.
    

![Image3 06 19 2026 11 30 Am](https://content.hostman.com/assets/bd084fba-fb00-4401-9667-d171ca86d517.png?width=1916&height=1080)

_Settings in the [Devin Desktop](https://devin.ai/desktop/) interface_

2.  Go to the **Devin Local** tab and click **Open Devin MCP marketplace**.
    

![Image4 06 19 2026 11 31 Am](https://content.hostman.com/assets/57968b1b-33b6-4316-b4bf-f01660711575.png?width=1915&height=1017)

_Devin Local page in the [Devin Desktop](https://devin.ai/desktop/) interface_

3.  Click **Add custom MCP**.
    

![Image5 06 19 2026 11 32 Am](https://content.hostman.com/assets/9036c062-4ed1-41b3-b10c-dcd51f9a1ed9.png?width=1912&height=1009)

_MCP Marketplace in the [Devin Desktop](https://devin.ai/desktop/) interface_

4.  Paste this configuration:
    

```shell
{
  "mcpServers": {
    "github": {
      "serverUrl": "https://api.githubcopilot.com/mcp/",
      "headers": {
        "Authorization": "Bearer YOUR_TOKEN"
      }
    }
  }
}
```

5.  Replace `YOUR_TOKEN` with the token from Step 2
6.  Select **File** → **Save**.
    
7.  Close Devin Desktop completely, then relaunch it.
    

You should now see GitHub listed as **Enabled**. To double check, ask the agent in chat: _Which GitHub MCP tools are available right now?_

## Step 4. Push Your Project to GitHub

Ask the agent directly in chat: _Create a public repository called `hostman-devin-app` in my GitHub account._

The agent will ask you to confirm the action before proceeding. Once approved, the new repository appears in GitHub.

Next, push your project's code to that repository, again asking the agent: _Push the current project to this repository using GitHub MCP._

If your project isn't in the root folder, specify the correct directory in your request.

## Step 5. Deploy on Hostman

With your code in GitHub, you're ready to deploy.

1.  Open the Hostman dashboard and go to **App Platform**.
    
2.  Click **Create App**.
    
3.  Choose your application type. Hostman supports several deployment options, including [Frontend](https://hostman.com/docs/app-platform/frontend-apps/), [Backend](https://hostman.com/docs/app-platform/backend-apps/), and [Docker](https://hostman.com/docs/app-platform/dockerfile/).
    

If you're not sure which stack your app relies on, just ask the agent in Devin Desktop: _What framework does this project use?_

4.  On the **Repository** step, click the **GitHub** icon.
    
5.  Sign in to your GitHub account and confirm access.
    
6.  Select your repository from the list.
    

If your repository doesn't appear, click **Add Account**, re-authorize access, and refresh the list.

7.  Keep the **Build by the last executed commit** option enabled. It allows Hostman to automatically redeploy your app whenever you make changes to it.
8.  Choose a deployment region.
    
9.  Configure the remaining application settings. These vary depending on your project type. If you're unsure what to enter, ask the agent in Devin Desktop to walk you through the settings for your specific project.
    
10.  Click **Create** and wait for the deployment to finish.
     

## You're Live!

Hostman gives you a working domain under **Dashboard** → **Domain**. Want your own domain? [Configure it](https://hostman.com/docs/app-platform/managing-apps/#custom-domain) under **Settings**.

From now on, the workflow is very simple:

1.  Make changes to your project in the Devin Desktop chat.
    
2.  Ask the agent to push those changes to GitHub.
    
3.  Hostman automatically triggers a new deployment.
    

No manual git needed—just chat with your agent, and Hostman will do the rest for you.
