# NodeJS - Backend implementation

{% hint style="info" %}
This section describes a full implementation of SIWC in a NodeJS sample app.
{% endhint %}

Although you can chose to make a step by step implementation from scratch, using the open source components, it may be more convenient and faster to download the sample app and follow the video tutorial. In this case, jump direct to the section 5 below.

{% content-ref url="/pages/Gs838MXAWyFk06trjzSH" %}
[6. Full sample app](/siww/use-cases/nodejs-backend-implementation/5.-full-sample-app.md)
{% endcontent-ref %}

{% hint style="warning" %}
If you are new to oAuth2, it may be good to first have a look at some generic tutorials. We found this one below particularly relevant.
{% endhint %}

{% embed url="<https://www.zachgollwitzer.com/posts/passport-js-course>" %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://incubiq.gitbook.io/siww/use-cases/nodejs-backend-implementation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
