---
# System prepended metadata

title: Service Builder Pattern for SDK

---

# Service Builder Pattern for SDK

```csharp
var service = Service.Account().Build();
var profile = await service.SignIn();

var profile = await Service
    .Account()
    .WithEndpoint("dev-internal.trinsic.cloud")
    .Build()
    .SignIn();
```


```typescript

let service = Service.account().build();
var profile = await service.signIn();

var profile = await Service
    .account()
    .withEndpoint("dev-internal.trinsic.cloud")
    .build()
    .signIn();
```