> For the complete documentation index, see [llms.txt](https://docs.glesys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glesys.com/products/connectivity/network-services/virtual-private-network-vpn/how-tos/create-a-vpn.md).

# Create a VPN

***

## Create a VPN user using the control panel

You find the VPN service under **VPN** in the left-hand menu under **Networking**.

To create a new VPN user, first select **VPN** in the left menu and then click **Create VPN**. The VPN user will be created in the [project](/platform/control-panel/projects.md) you are currently in.

<figure><img src="/files/14orxyjRukadTZHgmbcF" alt=""><figcaption></figcaption></figure>

In the dialog box that opens, choose a name for the VPN user and a password. Then, click **Create**. The name will include the full name as you see it, including the project name.

<figure><img src="/files/oNiMqrSxZ1QbP2zsjbHc" alt=""><figcaption></figcaption></figure>

## Create a VPN user using the API

To create a new VPN user using the API, use the [vpn/createuser](https://github.com/GleSYS/API-docs/wiki/API-Documentation#vpncreateuser) endpoint.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.glesys.com/products/connectivity/network-services/virtual-private-network-vpn/how-tos/create-a-vpn.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.
