---
name: azion-how-to-create-an-edge-service
description: >-
  Learn to create and deploy edge services using Azion Console and API, configuring resources and activating with ease for efficient edge node deployment.
---

# How to create an edge service

You can create an edge service by using:

- [Azion Console](/en/documentation/guides/platform/account-and-billing/how-to-access-azion-console/)
- [Azion API](https://api.azion.com/)

To create an edge service, proceed as follows:

**Console**

1. Access [Azion Console](/en/documentation/guides/platform/account-and-billing/how-to-access-azion-console/) > **Edge Services**.
2. Click on the **+ Service** button.
3. Give a name for your service.
4. Define the variables, if necessary.
   - The variables must be in the format `Variable = Value`.
5. Click the **Save** button.
6. Go to the **Resources** tab and [provide resources](/en/documentation/guides/application-development/automation/provision-files/) for your service.

**API**

1. Run the following `POST` request in your terminal, replacing `[TOKEN VALUE]` with your [personal token](/en/documentation/guides/platform/account-and-billing/personal-tokens/) and informing the name of the service being created:

```bash
curl --location 'https://api.azionapi.net/edge_services/' \
--header 'Accept: application/json; version=3' \
--header 'Authorization: Token [TOKEN VALUE]' \
--header 'Content-Type: application/json' \
--data '{
  "name": "string"
}'
```

Now, the service is available and able to be deployed onto the edge nodes.

> **Tip**
>
> Check the [Azion API documentation](https://api.azion.com/) and the [OpenAPI specification](https://github.com/aziontech/azionapi-openapi/) to know more about all features available via API.

Watch a video tutorial on how to create an edge service on Azion’s YouTube channel:
