---
title: "Building a session"
slug: "building-a-session"
abstract: "How to invoke the BuildSession method to create a session."
---
# Building a session

Once you have set all the session configuration parameters, you can invoke the `BuildSession` method to create the session. For example:

```text
SitecoreUTSessionBuilder.SessionWithHost("https://mysite.com")
                        .BuildSession();
```