# add cloudprovider

The `add cloudprovider` command registers a cloud provider in the Aizen database.

## Syntax

{% code overflow="wrap" %}

```
add cloudprovider <cloud provider name>,<provider type>,<instance type>,{<credential file name>,<credential file section>|<base url>}
```

{% endcode %}

## Parameters

| Parameter                   | Description                                                                                                                                                                                                                                      |
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `<cloud provider name>`     | A unique name to be registered for the cloud provider                                                                                                                                                                                            |
| `<provider type>`           | <p>A supported cloud provider, which can be one of these types:</p><ul><li><code>lambdalabs</code></li><li><code>openai</code></li><li><code>aizen</code></li></ul>                                                                              |
| `<instance type>`           | <p>A supported instance, which can be one of these types:</p><ul><li><code>gpu</code> (for a Lambda Labs provider)</li><li><code>llm</code> (for an OpenAI or Aizen provider)</li><li><code>vectorstore</code> (for an Aizen provider)</li></ul> |
| `<credential file name>`    | The registered credential file of a non-Aizen cloud provider                                                                                                                                                                                     |
| `<credential file section>` | The section name from the registered credential file of a non-Aizen cloud provider                                                                                                                                                               |
| `<base url>`                | The base URL of an Aizen cloud provider                                                                                                                                                                                                          |

## Example

```
add cloudprovider testlambda,lambdalabs,gpu,cloud_creds.crd,lambda-info
```
