<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@soulmachines/smwebsdk](./smwebsdk.md) &gt; [Scene](./smwebsdk.scene.md) &gt; [connect](./smwebsdk.scene.connect.md)

## Scene.connect() method

Connect to a scene using options object

**Signature:**

```typescript
connect(options?: ConnectOptions): Promise<string | undefined>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  options | [ConnectOptions](./smwebsdk.connectoptions.md) | _(Optional)_ |

**Returns:**

Promise&lt;string \| undefined&gt;

