# Anchor Link

<figure><img src="/files/klnsWYG60PqiIxYRGJCN" alt=""><figcaption></figcaption></figure>

## How to use this section

* [ ] Add [Activation: Build Your Own](/site-page-templates/the-captain-site-page-template-collection/build-your-own-sections/activation-build-your-own-section.md) section to a Site Page. *This section is required*
* [ ] Add this section to the page below the Activation: Build Your Own section and right above the section you want to create an "in page" link for.
* [ ] Go into the Achor Links settings and update the Hyperlink Anchor ID setting to be an id that you will use in a step below. Be sure to not include any spaces as they will be replaced by dashes. ex: *call-to-action*
* [ ] Copy the current page link to your clipboard by clicking on the page link icon (this is not the same link that you see in your browser as a Site Admin)
* [ ] Edit another section on the page that is using a link or a button. Choose the Custom Url option and then paste the page link into the setting.
* [ ] Move your cursor to the end of the line for the page url that you just pasted and add **#your-anchor-id** *ex: <https://www.mydomain.com/pages/sales-page#call-to-action>*

## Video Walkthrough

{% embed url="<https://www.loom.com/share/8f5cf9716ad2410db1e1ed1d7f159d64>" %}


---

# 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://docs-snap.superpowerups.com/site-page-templates/the-captain-site-page-template-collection/build-your-own-sections/anchor-link.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.
