---
title: "Testing & credentials"
description: "Built-in sandbox credentials for local development, importable from the SDK itself."
source: "/docs/testing"
updated: "2026-09-24"
---

# Testing & credentials

Built-in sandbox credentials for local development, importable from the SDK itself.

## Sandbox credentials

Use the built-in test credentials for local development. Import them from the `@helix-id/node/testing` sub-path.

```js
import { createAuthUrl } from "@helix-id/node";
import { HELIX_TEST_SPACE_ID, HELIX_TEST_SECRET, HELIX_TEST_CALLBACK_URL } from "@helix-id/node/testing";

const { url, nonce, sig } = await createAuthUrl({
  spaceId: HELIX_TEST_SPACE_ID,
  state: "test",
  origin: new URL(HELIX_TEST_CALLBACK_URL).origin,
  secret: HELIX_TEST_SECRET,
  env: "sandbox",
});
```

| Credential   | Value                                         |
| ------------ | --------------------------------------------- |
| Space ID     | `a1b2c3d4-e5f6-7890-abcd-ef1234567890`        |
| Secret       | `tk_test_hx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx` |
| Callback URL | `http://localhost:8080/helix/callback`        |

> **WARN - Important**
>
> Never use test credentials in production. Rotate your production secret regularly.


## Sitemap

See the full [sitemap](https://helix.id/sitemap.md) for all pages.
