# createSession · FT4 TypeScript client · Chromia Docs (concept)

> createSession(connection: Connection , authenticator: Authenticator ): Session Uses the provided inputs to create a Session instance. Parameters connection

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/ft-session.createSession/

Function

# createSession

* ```signature
  createSession(connection: Connection, authenticator: Authenticator): Session
  ```

  Uses the provided inputs to create a Session instance.

  #### Parameters

  + connection: [Connection](https://docs.chromia.com/pages/ft4-ts-client/interfaces/ft-session.Connection/)

    connection to use for this session
  + authenticator: [Authenticator](https://docs.chromia.com/pages/ft4-ts-client/interfaces/authentication.Authenticator/)

    authenticator to use for this session

  #### Returns [Session](https://docs.chromia.com/pages/ft4-ts-client/interfaces/ft-session.Session/)

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/functions/ft-session.createSession.html)Generated API reference, mirrored from the live docs
