# Add custom Liquid

The Custom liquid section can be used to add any code snippet to a template. This is a great way to add app install scripts if an app requires manual installation. This is a great approach to take - your theme code remains un-edited and you still have access to easily update the theme.

{% stepper %}
{% step %}
**Add Custom liquid section**

* Click **Add section**.
* Click **Custom liquid** to add the section.

{% hint style="info" %}
If you want to install a code snippet across your entire site then you can move your section to the Footer group.
{% endhint %}
{% endstep %}

{% step %}
**Add your code**

* Paste in your code.
* Remove the section padding and borders.
* This section renders liquid so if you plan to add JavaScript or CSS you'll need to include that within a `<script>` or a `style` tag.
  {% endstep %}

{% step %}
**Save your changes**

Click **Save**
{% endstep %}
{% endstepper %}

{% content-ref url="/pages/Xim3FqL09Vv1yrZLNkZx" %}
[Popular custom liquid](/keystone/advanced-customizations/adding-custom-liquid/popular-custom-liquid.md)
{% endcontent-ref %}


---

# 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://help.brickspacelab.com/keystone/advanced-customizations/adding-custom-liquid.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.
