> For the complete documentation index, see [llms.txt](https://docs.flip.to/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flip.to/docs/integrations/booking-engines/vendors/newbook.md).

# Newbook

Adding Flip.to to your Newbook booking engine takes one line of code.

{% hint style="warning" %}
**Before you begin:** you'll need to sign a Newbook + Flip.to data share agreement. Ask your Newbook point person for the agreement to sign. This allows our platform to retrieve information about bookings directly from Newbook, while ensuring the integration is stable, secure and compliant.
{% endhint %}

***

## Add the snippet

Copy and paste the snippet below into the **\<head> tag** of every page of your Newbook booking engine, **including the confirmation page**.

```html
<script async src="https://integration.flip.to" crossorigin="anonymous"></script>
```

The same line goes on your website—see [Set up your website](/docs/integrations/websites/set-up-your-website.md).

***

## Configurations

<details>

<summary>Overriding what Flip.to detects (rarely needed)</summary>

For a custom booking-engine domain, or a page whose language markup is wrong or missing. See [Overrides](/docs/integrations/booking-engines/set-up-your-booking-engine.md#overrides) on Set up your booking engine.

</details>

<details>

<summary>Tracking add-ons and other products</summary>

If you sell experiences, events or ancillary items at time of booking, those still need to be passed to Flip.to—see [E-commerce tracking](/docs/integrations/booking-engines/e-commerce-tracking.md).

</details>

***

If we can be of any help, say hello to our [Customer Success team](/docs/support/customer-success.md).


---

# 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://docs.flip.to/docs/integrations/booking-engines/vendors/newbook.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.
