# Chapter 8: Adding Authentication to our API

Now it is time for something more complicated, you'll find that this chapter is going to be a lot more engaging than the last one. Because we are dealing with input fields now, our 8 step recipe is going to look a lot more involved than before.

Get ready, because this is going to be a long and exciting chapter!


---

# 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://book.restfulnode.com/part-3/chapter-8.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.
