LiveKit docs › Concepts › RoomScope

---

# The RoomScope

The `RoomScope` composable is the root of your LiveKit application. It handles the Room object creation and connection, and sets the `RoomLocal` for its child composables.

```tsx
import androidx.compose.runtime.Composable
import io.livekit.android.compose.local.RoomScope

@Composable
fun MyLiveKitApp() {
    RoomScope(
        url = "server-url",
        token = "access-token",
        connect = true
    ) {
        /* Your composables go here */
    }
}

```

---

This document was rendered at 2026-06-07T11:33:13.882Z.
For the latest version of this document, see [https://docs.livekit.io/reference/components/android/concepts/roomscope.md](https://docs.livekit.io/reference/components/android/concepts/roomscope.md).

To explore all LiveKit documentation, see [llms.txt](https://docs.livekit.io/llms.txt).