> For the complete documentation index, see [llms.txt](https://docs.abtasty.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.abtasty.com/server-side/sdks/quickstart.md).

# Quickstart

This Quickstart will guide you to implement the use case `Log-in with Google` on your website. [See Github repo](https://github.com/flagship-io/code-samples/tree/master/sdk/quickstart/js).

In this scenario, we need to have 3 renderings of login page according to visitor geographical area.

* All users in Europe/America will have the basic login process and login with Google,
* Users in Asia zone will get the basic login process and login with WeChat
* All the others will get only basic login process.\
  We will change the login button color according to the geographical area too.

<figure><img src="https://233132171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBWu23t7Qv6wLLh6Hl5b4%2Fuploads%2Fgit-blob-2b83280932464bdaaabb0ca287a787ff2e8020d0%2Fhttps___files.readme.io_7a4ec75-capture6.avif?alt=media" alt=""><figcaption><p>Login page for users in Europe/America zone</p></figcaption></figure>

<figure><img src="https://233132171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBWu23t7Qv6wLLh6Hl5b4%2Fuploads%2Fgit-blob-9dbe29fd35661ef4d25abdb5da560afb6a450463%2Fhttps___files.readme.io_409d9a4-capture7.avif?alt=media" alt=""><figcaption><p>Login page for users in Asia zone</p></figcaption></figure>

<figure><img src="https://233132171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBWu23t7Qv6wLLh6Hl5b4%2Fuploads%2Fgit-blob-21e76fad22f78253ed7046173331149589f09a89%2Fhttps___files.readme.io_537ef46-capture8.png?alt=media" alt=""><figcaption><p>Login page for all the others</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.abtasty.com/server-side/sdks/quickstart.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
