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

# Go

> Call the Dojah REST API from Go with the official Dojah client — server-side, with authentication handled for you.

Call the Dojah REST API from Go with the Dojah client.

<Warning>
  This is a **server-side** client using your **secret** key (passed as `Authorization`) — never ship it in client code. For verification UI in an app, use a [Widget SDK](/api-reference/widget-sdks/choosing-an-sdk).
</Warning>

## Install

```bash Terminal theme={null}
go get github.com/dojah-inc/dojah-sdks/go
```

## Make a request

```go main.go theme={null}
config := dojah.NewConfiguration()
config.Context = context.WithValue(config.Context, dojah.ContextAPIKeys,
  map[string]dojah.APIKey{
    "apikeyAuth": {Key: os.Getenv("DOJAH_SECRET_KEY")},
    "appIdAuth":  {Key: os.Getenv("DOJAH_APP_ID")},
  })

client := dojah.NewAPIClient(config)

result, _, err := client.AMLApi.GetScreeningInfo(context.Background()).
  ProfileId("WC7117469").Execute()
```

Every endpoint in the [API reference](/api-reference/get-started/introduction) is exposed on the client, grouped by API.
