diff --git a/docs/how-to/manage-data/local-facts-uploader.mdx b/docs/how-to/manage-data/local-facts-uploader.mdx
index fa29aeec..003c1cb9 100644
--- a/docs/how-to/manage-data/local-facts-uploader.mdx
+++ b/docs/how-to/manage-data/local-facts-uploader.mdx
@@ -73,6 +73,24 @@ const permit = new Permit({
});
```
+
+
+
+```go
+package main
+
+import "github.com/permitio/permit-golang/pkg/permit"
+import "github.com/permitio/permit-golang/pkg/config"
+
+func main() {
+ PermitConfig := config.NewConfigBuilder("").
+ WithPdpUrl("http://localhost:7766").
+ WithProxyFactsViaPdp().
+ Build()
+ Permit := permit.New(PermitConfig)
+}
+```
+
@@ -163,8 +181,34 @@ await permit.api.users.sync({
// or you can use the waitForSync function to customize the timeout for a specific call
await permit.api.users.waitForSync(10).create({ key: "auth0|elon" });
```
+
+
+
+```go
+package main
+
+import "github.com/permitio/permit-golang/pkg/permit"
+import "github.com/permitio/permit-golang/pkg/config"
+
+func main() {
+ PermitConfig := config.NewConfigBuilder("").
+ WithPdpUrl("http://localhost:7766").
+ WithProxyFactsViaPdp().
+ WithFactsSyncTimeout().
+ Build()
+ Permit := permit.New(PermitConfig)
+
+ newUser := models.NewUserCreate("new_user")
+ user, _ := Permit.Api.Users.SyncUser(ctx, *newUser)
+
+ // or you can use the WaitForSync function to customize the timeout for a specific call
+ user, _ := Permit.Api.Users.WaitForSync(10).CreateUser(ctx, *newUser)
+
+}
+```
+
:::note Supported APIs