# Create a Service

> \[!WARNING]
>
> If you're using [Services](/docs/serverless/functions-assets/functions/create-service) or [Functions (Classic)](/docs/serverless/functions-assets/functions/migrating-functionsclassic-new-functions-editor) and have entered your Auth token directly instead of using an environment variable, you must wait for the Auth token to update across all instances. During this time, your Function or Service returns a `403 Forbidden` HTTP error.

A Twilio Service is a container for your [Functions](/docs/serverless/api/resource/function), [Assets](/docs/serverless/functions-assets/assets), and [Environments](/docs/serverless/api/resource/environment).

As you develop applications using Twilio Functions and Assets, Services can help you organize the Functions and Assets that compose each respective application, keep separate Environments, and control Deployments.

![Service architecture showing SMS, Voice, and WhatsApp applications with functions, assets, and environments.](https://docs-resources.prod.twilio.com/ecbcec3575ae8b9267a81669a75cd12ba694842d100fe6ac1a0406e7c34b066b.png)

## Creating a new Service

To create a new Service:

1. Log in to the Twilio Console.
2. Go to **Develop > Functions & Assets > Services**.
3. Click on **Create service**.
4. Give your service a unique name, and click **Next**.

> \[!NOTE]
>
> If you're using the legacy Console, to create a new Service:
>
> 1. Click **Create Service**.
> 2. Give your Service a unique name, and click **Next** to create the Service.

The Service will be bootstrapped, and you'll be redirected to the [Functions Editor](/docs/serverless/functions-assets/functions#get-started-with-serverless-and-twilio-functions) shortly after. There, you can begin adding Functions and Assets.

> \[!WARNING]
>
> A service name must be fewer than 50 characters, and may only contain letters, numbers, and dashes. Once selected, the Service name cannot be modified.

### Understanding domains

The name of your Service directly influences the domain that your Functions and Assets deploys to. The general URL scheme for a Service is as follows:

```bash
https://[service_name]-[random_numbers]-[environment].twil.io/
```

For example, a Service named `astley` will have the following domain by default:

```bash
https://astley-3432.twil.io/ # The default, production URL
```

It could potentially also create these other, Environment-specific domains, depending on how you name them and which you choose to deploy:

```bash
https://astley-3432-dev.twil.io/ # For an Environment named 'dev'
https://astley-3432-test.twil.io/ # For an Environment named 'test'
https://astley-3432-stage.twil.io/ # For an Environment named 'stage'
```

## View and manage Services

You can view all of your existing Services on the **Services** page in the Twilio Console.

For each existing Service, you can:

* Go to the [Functions Editor](/docs/serverless/functions-assets/functions#get-started-with-serverless-and-twilio-functions) for your Services and view their Functions and Assets.
* View metadata for your Services and all Environments, Functions, and Assets.
* Delete all Functions, Assets, and Environments associated with your services. Note that Twilio applications with a dependency on a deletedservice will no longer work.

## Deleting a Service

To initiate the process of deleting a Service, click **Delete** in the **Services** page. First, you'll be prompted to confirm that you want to delete the Service. Once confirmed, the Service and all of its child Functions, Assets, and Environments will be deleted.

> \[!CAUTION]
>
> If the Service is being used by another application like Studio or Flex, those applications will no longer be able to reach the Service and associated Functions or Assets. This poses the risk of breaking dependent applications, and should be taken into consideration before deleting a Service.

## Limitations

There is a maximum of 50 Services available to each Functions user by default. Once you reach 50 Services, you can't add additional Services without deleting an existing Service.

> \[!WARNING]
>
> Functions (Classic) doesn't support Services. If you're using Functions (Classic), you can create functions directly in the editor and attach compatible Assets from Assets (Classic).
