{/_This file is generated by scripts/generate-doc-snippets.ts.Edit examples/docs-sdk-quickstart/src/main.ts between the docs:start/docs:end markers instead._/}```ts// Tools are produced per connection. A connection is the saved credential for// one integration; creating one with an inline `value` writes it to the default// writable provider and yields the integration's tools.await executor.connections.create({ owner: "org", name: "default", integration: "inventory", template: "apiKey", value: "inventory-api-key",});```
{/_
This file is generated by scripts/generate-doc-snippets.ts.
Edit examples/docs-sdk-quickstart/src/main.ts between the docs:start/docs:end markers instead.
_/}
```ts
// Tools are produced per connection. A connection is the saved credential for
// one integration; creating one with an inline `value` writes it to the default
// writable provider and yields the integration's tools.
await executor.connections.create({
owner: "org",
name: "default",
integration: "inventory",
template: "apiKey",
value: "inventory-api-key",
});
```