# create

The create command creates a new bare metal server in your project. This command allows you to add a new bare metal instance using the specified project ID, compute profile, and server name.

## Usage

```
cldkctl baremetal create [flags]
```

## Aliases

```
create, add
```

## Steps

Follow the steps below to run and view the result of this command:

1. Ensure that you already have a valid Project ID. Refer to the Project List section to obtain your project ID.
2. Identify the available compute profile for your server. Currently, only the bmaas-test-profile is available.
3. Run the following command in your terminal:

```
cldkctl baremetal create --project [project ID] --name [instance name] --compute-profile [compute profile]
```

4. Replace `[project ID]` with your actual project ID, `[instance name]` with your desired bare metal server name, and `[compute profile]` with the compute profile name.
5. Once completed successfully, the terminal displays the success message **"Bare metal instance successfully created".**

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FPLHk72rRmPYOLUgd4LjA%2Funknown.png?alt=media&#x26;token=dd396782-6600-49e9-b09f-135061291e36" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="info" %}
This command supports [global flags.](https://docs.cloudeka.ai/cloudeka-api-list/global-flags) Refer to the Global Flags section for details
{% endhint %}

| Flag                         | Description                        |
| ---------------------------- | ---------------------------------- |
| -c, --compute-profile string | Specify the compute profile.       |
| -h, --help                   | Help for baremetal create command. |
| -n, --name string            | Specify the instance name.         |
| -p, --project string         | Specify the project ID.            |
