Imagine With Craft

Dream Journal

Capture your dreams and uncover their hidden meanings. Log each dream through a custom web app and use ChatGPT or Claude to interpret the symbolism and emotions behind them.

Dream JournalDream Journal

Build It Yourself

In this example, we will use Craft to keep a personal dream journal. We will build a small web app that we can use to capture our dreams and then ask ChatGPT or Claude to add interpretations to each dream.

Step 1Create Your Doc

The doc for our dream journal is super simple: We just add each new dream to the top, with the date as the headline and some additional information below.

Use the template to create a new doc for your dream journal:

Step 2Enable API Access

Enable API Access for your doc to get a unique URL that can be used to read from and add to your doc, for example by the web app we will build below.

Haz clic en la pestaña “Imaginar” en la barra lateral.

Step 1

Abre la pestaña “Imaginar”
Haz clic en el botón “Agregar tu primera conexión de API”

Step 2

Haz clic en “Agregar tu primera conexión de API”
Configura los ajustes de conexión de la API

Step 3

Configura tu conexión de la API con un nombre. Para este proyecto, la API únicamente requiere permiso de escritura en tus documentos. Establece los permisos de la API en “Escritura” solamente.
Haz clic en el botón “Agregar documento”

Step 4

Haz clic en “Agregar documento” y selecciona tu documento Dream Journal.
La URL de la API se muestra en la parte superior

Step 5

La URL de la API que se utilizará para interactuar con tu documento ahora se muestra en la parte superior
Haz clic en el botón “Descargar paquete de IA”

Step 6

Haz clic en el botón “Descargar paquete de IA”. Esto descargará una carpeta con la documentación de la API y el contenido de tu documento.

Step 3Build on Lovable

Now lets go on and build the actual website for our dashboard on Lovable. For the example site shown above, we used this prompt:

I am creating a dream journal to log and analyze my dreams.

The information is stored in Craft. Please check the attached file including an example of the current state of my Dream Journal Craft doc, as well as information on the API you should use to save my dreams.

I want you to create a website displaying an input form to record my dreams and sleep quality.

The site should display at the center a form with a slider for sleep quality (from very bad to excellenct). Above their slider there should be an emoji for each quality level, that gets updated as the slider is moved. Below there should be a text input for dream itself.

The design should calming and soft. Use moody colors and round shapes, with a soft gradient for the background.

Go to Lovable and paste the prompt into the prompt box. Make sure to attatch the AI Bundle for your document that we just downloaded.

Dream Journal 5

Lovable gets to work, analyzing the content of the bundle to understand the doc structure and how to use the API. Then it starts to build the website according to our prompt.

Dream Journal 6

Now we have a beautiful site we can use to add dreams to our dream journal! If you want to, you could save this web app on your home screen, so you can quickly access it every morning.

Step 4Enable MCP Access

Enable MCP Access for your doc to get a unique URL that can be used to read from and add to your doc by AI clients:

Haz clic en la pestaña “Imaginar” en la barra lateral

Step 1

Abre la pestaña “Imaginar”
Haz clic en el botón “Crear tu primera conexión MCP”

Step 2

Haz clic en “Crear tu primera conexión MCP”
Configura los ajustes de conexión MCP

Step 3

Configura tu conexión MCP con un nombre.
Haz clic en el botón “Agregar documento”

Step 4

Haz clic en “Agregar documento” y selecciona tu documento Dream Journal.
El URL de MCP se muestra en la parte superior

Step 5

La URL de MCP que se utilizará para interactuar con tu documento ahora se muestra en la parte superior.

Step 5Set up the MCP Connection

Now let’s use the MCP URL to connect to the doc from a client:

Se requiere una suscripción a Claude Pro o Max para añadir conectores personalizados.
Abre los ajustes de Claude

Step 1

Ve a Configuración
Selecciona la sección Conectores

Step 2

Selecciona la sección “Conectores” y haz clic en el botón “Añadir conector personalizado”
Añade un nuevo conector personalizado

Step 3

Dale un nombre significativo al conector y pega la URL MCP de Craft.
Confirma y crea el conector

Step 4

Después de confirmar, tu conector ya está configurado y puedes empezar a usarlo en tus chats.

Para obtener más información, consulta la documentación de Claude: “Introducción a los conectores personalizados con Remote MCP

Step 6Comienza a interactuar con tu documento.

You can now ask Claude to check out our dream journal and add interpretations to our latest dreams:

Haz clic en un ejemplo para copiar el prompt a tu portapapeles

More Ideas For You To Try

Back to the Gallery