Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 381 Bytes

File metadata and controls

24 lines (18 loc) · 381 Bytes
```typescript Typescript/Javascript import Kernel from '@onkernel/sdk';

const client = new Kernel({ apiKey: 'My API Key', });

const profile = await client.profiles.create();

console.log(profile.id);



```python Python
from kernel import Kernel

client = Kernel(
    api_key="My API Key",
)
profile = client.profiles.create()
print(profile.id)