# Go SDK

{% hint style="danger" %}

### <mark style="color:red;">**The BastionZero product is maintained for existing BastionZero customers only.**</mark>&#x20;

Moving forward, we are natively rebuilding BastionZero’s technology as Cloudflare’s [Access for Infrastructure](https://developers.cloudflare.com/cloudflare-one/applications/non-http/infrastructure-apps/) service.
{% endhint %}

## The BastionZero Go SDK

The [BastionZero Go SDK](https://pkg.go.dev/github.com/bastionzero/bastionzero-sdk-go) is a Go client library designed to facilitate access to the [BastionZero API](https://cloud.bastionzero.com/api). It provides a set of functions and types that abstract the underlying API calls, making it easier for engineers to interact with the BastionZero API.

The SDK is organized into services that divide the API into logical chunks, mirroring the structure of the BastionZero API. These services include:

* Autodiscovery scripts
* Environments
* Organization
* Policies
* Service accounts
* Targets
* Users

## Getting started

To install the BastionZero Go SDK, use the go get command below.

```
go get github.com/bastionzero/bastionzero-sdk-go
```

Once installed, you can import the SDK into your Go programs.

```
import "github.com/bastionzero/bastionzero-sdk-go"
```
