# hosting.create

Canonical URL: https://developers.iagenify.com/pt/sdk/workflows/steps/hosting-create/
Language: pt

`type: "hosting.create"`

Crea un host — un site, un app o una funzion. Reserve un address; la implementazion è un pas separato.

Status: kind and label required · no approval · certificate may wait

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `kind` | string | obrigatório | `site` · `app` · `function`. |
| `label` | string | obrigatório | Il nome che una persona lee. |
| `slug` | string |  | La prima parte del domicilio. Deriva da rótula altrimenti. |

```javascript
{ id: "host", type: "hosting.create", config: { kind: "site", label: "{{input.name}}" } }
```

## Saída {#output}

```javascript
{{steps.host.output.host}}          // the slug
{{steps.host.output.url}}
{{steps.host.output.certificate}}   // "none" | "pending" | "active"
```

## Un addresse che non è ancora pronto {#certificate}

> **Un certificate pendente significa che l'indirizzo nega connes**
>
> Non un apasso — un atteso. Una catena che crea un host e che immediatamente lo recupera fail. Met un pas d'attesa tra di loro, o verifica il certificato prima di affidar-se pe l'indirizzo.

## Creare non è publicar {#no-approval}

Nada è on-line, quindi non è richiesta l'aprobazion. [hosting.deploy](/pt/sdk/workflows/steps/hosting-deploy) è la tassa che publiche, e che si necesita un amont umano.

## Il piano decide quantes {#plan}

Un piano senza hosting renie la creatura, nomeando il plan. Vale sap avant di una catena è costruit in torno a lui.

- [hosting.deploy](/pt/sdk/workflows/steps/hosting-deploy): Metès-lhe qualcosa.
- [api.hosts](/pt/sdk/ref/hosts): A partir do código.
- [Etapas do fluxo de trabalho](/pt/sdk/workflows/steps): Os 23 tipos.

```python
{"id": "host", "type": "hosting.create", "config": {"kind": "site", "label": "{{input.name}}"}}
```

```python
"{{steps.host.output.host}}"          # the slug
"{{steps.host.output.url}}"
"{{steps.host.output.certificate}}"   # "none" | "pending" | "active"
```
