How-to
Verify the installation
Goal
Confirm the SDK is installed correctly and the agent identity is activated.
.NET
using HexaEight.Bridge;
var client = new Client();
Console.WriteLine($"Identity: {client.Name}");
Console.WriteLine($"SDK version: {Client.BridgeVersion}");
Console.WriteLine($"TFM: {Client.TargetFramework}"); Node.js
import { HexaEight } from '@hexaeight/sdk';
const he = await HexaEight.connect();
console.log(`Identity: ${he.name}`); Expected output
Identity: web0-bliss-cyan-radar84
SDK version: 1.0.0.0
TFM: .NETCoreApp,Version=v10.0 If you see an error
| Error | Likely cause |
|---|---|
HEXAEIGHT_RESOURCENAME is not set | env-file missing from current directory |
hexaeight.mac not found | Activation incomplete |
Could not find Casbin.NET | Package restore did not complete |
See also
- Install the SDK How-to
- Activate an identity How-to
- Configure environment variables How-to