# Installation

### CSS

The style sheet for the talque plugin should be in the loaded in the `<head>` of the page:

```markup
<link rel="stylesheet" href="https://storage.googleapis.com/assets.talque.com/plugin/view/{org-id}/app.css"/>
```

where you should replace `{org-id}` with your event's unique ID (see below). Alternatively, the stylesheet link can also be placed in the body of the page but above the content snippet.

### ‌Javascript

Ideally, the javascript code of the talque plugin is loaded asynchronously, so the initial render of your web page happens as soon as possible during load. For this, place the following in the `<body>` of your page:

```markup
<script 
    async defer type="text/javascript" 
    src="https://storage.googleapis.com/assets.talque.com/plugin/view/{org-id}/app.js">
</script>
‌
```

where you should again replace `{org-id}` with your event's ID.

### Content

The position of the content is determined by the css id `tq-talque-view`, which requires a few attributes to configure what to show and how to present it. For example:

```markup
<div
    class="tq-talque-view"
    org-id="VDYRv7v7oaA2s432rwMg"
    view-id="IoKwbA39MxcntEocizXB"
    initial="lecture-list">
</div>
```

The meaning of the data attributes is as follows.

* `org-id` is the organization id of your event. This is where the speaker/lecture/... data is coming from.
* `view-id` defines the configuration of how the content is displayed, so you could have two different web pages with different styling, each only displaying a subset of your content.&#x20;

Both the org and view id will be supplied by us and are specific to your event. In addition to these mandatory attributes, there are a number of optional attributes

* `initial` defines what the plugins shows on page load, for example `"lecture-list"` (default) or `"speaker-grid"`.
* `locale` lets you set the language, for example `"EN_US"` or `"DE_DE"`
* `timezone`lets you override the timezone in which the times are displayed. By default, this is the timezone set in the talque admin interface. Setting this you can override the timezone. Valid values are the standard Olsen names for timezones, like `"Europe/Berlin"` or `"America/New_York"`

&#x20;


---

# 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://talque.gitbook.io/public/view-plugin/installation.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.
