> ## Documentation Index
> Fetch the complete documentation index at: https://biznetgio.creations.ren/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart (Terraform)

> Order a NEO Lite VM with the Biznet GIO Terraform provider

From zero to a running NEO Lite VM in about five minutes.

## Prerequisites

* [Terraform](https://developer.hashicorp.com/terraform/install) ≥ 1.0
* A [Biznet GIO](https://biznetgio.com) account
* An API token - see [Authentication](/authentication)

## Get started

<Steps>
  <Step title="Export your API token">
    The provider reads credentials from environment variables, so no provider block is required:

    ```bash theme={null}
    export BIZNETGIO_API_KEY="<your-token>"
    ```
  </Step>

  <Step title="Write the configuration">
    Create `main.tf`:

    ```hcl theme={null}
    terraform {
      required_providers {
        biznetgio = {
          source = "registry.terraform.io/shirasakaren/biznetgio"
        }
      }
    }

    provider "biznetgio" {}

    data "biznetgio_neolite_products" "all" {}

    data "biznetgio_neolite_os_list" "ubuntu" {
      product_id = data.biznetgio_neolite_products.all.products[0].product_id
    }

    resource "biznetgio_neolite_keypair" "main" {
      name = "neo-lite-key"
    }

    resource "biznetgio_neolite_vm" "main" {
      ssh_and_console_user = "admin"
      console_password     = "s3cretP4ssw0rd"
      vm_name              = "neo-lite-1"
      product_id           = data.biznetgio_neolite_products.all.products[0].product_id
      select_os            = data.biznetgio_neolite_os_list.ubuntu.oss[0].name
      keypair_id           = biznetgio_neolite_keypair.main.keypair_id
      cycle                = "m"
    }

    output "vm_status" {
      value = biznetgio_neolite_vm.main.status
    }
    ```

    This orders the smallest available NEO Lite package on a monthly cycle and waits until the VM reports `Active`.
  </Step>

  <Step title="Apply">
    ```bash theme={null}
    terraform init
    terraform plan
    terraform apply
    ```

    Confirm the plan with `yes`. Creating the VM places a real order on your account and typically takes 1-5 minutes.
  </Step>

  <Step title="Verify">
    ```bash theme={null}
    terraform output vm_status
    ```

    You should see `"Active"`. Your VM is also visible under NEO Lite in the [portal](https://portal.biznetgio.com).
  </Step>

  <Step title="Clean up">
    ```bash theme={null}
    terraform destroy
    ```

    Destroying the VM resource deletes the server (`DELETE /neolites/{account_id}`).
  </Step>
</Steps>

## Next steps

* [Terraform installation](/terraform/installation) - full provider configuration reference
* [NEO Lite resources](/terraform/resources/neolite) - every NEO Lite resource and data source
* [Billing](/guides/billing) - how orders and payment work

<Tip>
  Lost? Reach out to Biznet GIO support at [support@biznetgio.com](mailto:support@biznetgio.com), or open an issue on the [provider repository](https://github.com/shirasakaren/terraform-provider-biznetgio).
</Tip>
