Black Friday: Lấy ngay deal hời giảm 40% trọn đời!

Imagine With Craft

Dream Journal

Dream JournalDream 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.

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.

Click the “Imagine” tab in the sidebar

Step 1

Open the “Imagine” tab
Click “Add Your First API Connection” button

Step 2

Click “Add Your First API Connection”
Configure API connection settings

Step 3

Configure your API connection with a name. For this project, the API only needs to write to your docs. Set the API permissions to “Write” only.
Click “Add Document” button

Step 4

Click “Add Document” and select your Dream Journal document.
API URL displayed at the top

Step 5

The API URL that will be used to interact with your document is now displayed at the top
Click the “Download AI Bundle” button

Step 6

Click the “Download AI Bundle” button. This will download a folder containing the API documentation and the content of your doc.

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:

Click the “Imagine” tab in the sidebar

Step 1

Open the “Imagine” tab
Click “Create Your First MCP Connection” button

Step 2

Click “Create Your First MCP Connection”
Configure MCP connection settings

Step 3

Configure your MCP connection with a name.
Click “Add Document” button

Step 4

Click “Add Document” and select your Dream Journal document.
MCP URL displayed at the top

Step 5

The MCP URL that will be used to interact with your document is now displayed at the top.

Step 5Set up the MCP Connection

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

A Claude Pro or Max subscription is required to add custom connectors.
Open Claude’s Settings

Step 1

Go to Settings
Select the Connectors section

Step 2

Select the “Connectors” section and click the “Add custom connector” button
Add a new custom connector

Step 3

Give the connector a meaningful name and paste the MCP URL from Craft
Confirm and create the connector

Step 4

After confirming, your connector is now set up and you can start using it in your chats

To learn more, take a look at Claude’s documentation: “Getting Started with Custom Connectors Using Remote MCP”.

Step 6Start Interacting with Your Doc

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

Click an example to copy the prompt to your clipboard

More Ideas For You To Try

Back to the Gallery