> For the complete documentation index, see [llms.txt](https://help.calcumate.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.calcumate.co/calculator-setup-and-customization/how-to-integrate-calcumate-to-framer.md).

# How to integrate Calcumate to Framer

**Step 1: Create a Calculator**

* Start by creating a new calculator from your Calcumate dashboard (login [here](https://calcumate.co/login) if you haven't already).
* You can also copy an existing calculator if you've already set one up before.

<figure><img src="/files/2L9FuG13h5VFvKopAjPL" alt=""><figcaption></figcaption></figure>

**Step 2: Publish the Calculator**

* Go to the Confirm step.
* Click Publish to generate the code snippet.

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

**Step 3: Copy the generated code snippet**

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

## Approach 1

**Step 4: Add the embed**

* Go the insert menu, in the "Utility" category find the "Embed" item and drag it to the website.

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

**Step 5: Add the generated snippet to the embed**

* Select the embed item
* Scroll down on the properties and find the "embed" section
* Click on the HTML button
* Paste the code snippet

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

**Step 6: Add a style to the code snippet**

* In the \<div> tag, insert the property style with this value

`style="width: calc(100vw - 40px);max-width: calc(100vw - 40px);"`

The code snippet should look like this now:

<pre class="language-html"><code class="lang-html"><strong>&#x3C;div
</strong>  id="calcumate-root"
  data-integration="ready-layout-272806.framer.app"
  data-integration-2=""
  data-ref="AQICAHhReAOexSsfBeJ/FMNVdjLFzyMEhuepXqwRfRaqckbrnAHuaOBBjQ0oYfYSZfPPpQhwAAAAgzCBgAYJKoZIhvcNAQcGoHMwcQIBADBsBgkqhkiG9w0BBwEwHgYJYIZIAWUDBAEuMBEEDJFfnjyHj8ipzqKqhAIBEIA/fZFsqE7ThBq1XcFkpUmHAa4sm07+g98Vlyv0XHqZdaAvxWx+GDSwGfVXySu6deP1uBaczPeFHD6ayG6d4N3P"
  data-int="112a234c-0ca3-4f07-981c-a1845d0bfa7c"
  style="width: calc(100vw - 40px);max-width: calc(100vw - 40px);"
>&#x3C;/div>
&#x3C;script defer src="https://production.calcumate.co/static/js/main.js">&#x3C;/script>
</code></pre>

**Step 7: Publish/Update your website**

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

## Approach 2

**Step 4: Add the code to framer**

* On the edit view, click on the settings button

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

* Select the page in which you want to embed the calculator and scroll down to the "custom code" section and paste in "End of \<body> tag" or click in the "show advanced option" and paste it in "Start of \<body> tag".

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

**Step 4: Publish/Update your website**

<figure><img src="/files/0Z7efuO1XUypc1lJmcKK" alt=""><figcaption></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 dynamically by asking a question.

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

```
GET https://help.calcumate.co/calculator-setup-and-customization/how-to-integrate-calcumate-to-framer.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
