> For the complete documentation index, see [llms.txt](https://docs.struct.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.struct.com/developer/app-integration/example-projects.md).

# Example projects

This section contains an example projects that will help you get familiar with various aspects of working with Struct PIM

To help you get familiar with both new and existing functionality in Struct PIM, we provide example projects that demonstrates how different features can be used in practice within Struct PIM.

## Weather app widget

A simple dashboard widget built for the Struct PIM interface using the @structdk/extension-sdk. It demonstrates how to build a custom extension that connects to the PIM and displays weather data, using Struct’s UI and icon libraries for a consistent look and feel.

The Weather App Extension is a dashboard widget designed to fit seamlessly within the Struct PIM interface through the use of the [@structdk/extension-sdk](https://www.npmjs.com/package/@structdk/extension-sdk) package. It also uses [@structdk/ui](https://www.npmjs.com/package/@structdk/ui) and [@structdk/struct-icon](https://www.npmjs.com/package/@structdk/struct-icon) to follow the same UI and icon design patterns as the PIM, ensuring visual consistency.

The app provides a classic weather overview based on the user’s current location, with simple functionality like showing current conditions.

<figure><img src="https://2141378775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUonpFWM7AJ0xVVXV1tr%2Fuploads%2FqOnlEOvKugK2TDuLm7rX%2Fimage.png?alt=media&amp;token=37cdfd62-b6f2-45d0-917c-6c44be8c9d3f" alt=""><figcaption><p>Weather app widget in dashboard</p></figcaption></figure>

The project is divided into two parts: a frontend that handles the user interface and a backend that manages API connections for retrieving weather data. It provides a practical example for creating similar PIM-integrated extensions.

{% embed url="<https://github.com/StructPim/Struct.ExampleProjects/tree/master/weather-app>" %}
See project on GitHub
{% endembed %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.struct.com/developer/app-integration/example-projects.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
