AWS Builder Center
Build Your First AI App on AWS in 20 Minutes (No Code, Using PartyRock)

Build Your First AI App on AWS in 20 Minutes (No Code, Using PartyRock)

A hands-on, beginner-friendly walkthrough for building a working generative AI app on AWS with no code. You will create a study quiz app in PartyRock and pick up core AI Practitioner exam concepts along the way, including prompts, prompt chaining, and temperature.

Improving 1% daily = 37x better per year.

Your First AI App on AWS, No Code: Building a "Quiz Buddy" in PartyRock

No programming, no math. In about 20 minutes you will walk away with a working generative AI app, and you will also understand several concepts from the AI Practitioner exam without having to memorize any of them.
In my last two articles I shared a roadmap and a study plan. Both said the same thing: build, do not just plan. Then I noticed the irony. I had never actually shown you building anything. Time to fix that.
Today we build together. And to tie the whole series into a single thread, the app we will make is a study buddy that quizzes you, one you can point straight at the content of the AIF-C01 exam. In other words, you build the tool that will help you study for the thing we covered last time. A goal inside a goal.

Why PartyRock, and why it is the best first step

PartyRock is a generative AI playground from AWS, built on top of Amazon Bedrock. You describe the app you want in plain language, and it builds a working prototype for you, with no code required.
Three reasons to start right here:
  • It is genuinely free. There is free daily usage, with a limit that resets every day. No trial that expires after a week.
  • No credit card and no AWS account. You sign in with a social login (Amazon, Apple, or Google) and you are in.
  • Intuition comes before theory. Once you play with it, "prompt engineering" and "temperature" stop being buzzwords and become something you actually felt happen.

What we are building

A Quiz Buddy. You type a topic, it generates multiple choice questions, shows the correct answer, and explains why. Simple, useful, and great for reviewing any subject, not just AWS.
I picked this app on purpose, because building it touches almost every fundamental building block of generative AI: an input, a prompt, chained widgets, and inference parameters. You will use all of them without even noticing.

Step by step

1. Sign in

Go to  partyrock.aws  and click Sign in. Pick whichever social login you prefer. You land directly on the screen where you can build.

2. Describe the app

Find the button to generate a new app (Generate app, or Build your own app) and describe what you want. Paste something like this:
A study app that generates 5 multiple choice questions about a topic I choose. For each question, show 4 options (A, B, C, D), mark the correct answer, and explain in one sentence why it is correct.
Give it a few seconds. PartyRock will read your request and build the app on its own.
What to notice: it created two separate pieces, one field for you to type the topic and one block that generates the questions. In PartyRock, each of these pieces is called a widget. Keep that word in mind. A generative AI app is really just widgets talking to each other.

3. Test it with a topic

In the topic field, type something like "Generative AI fundamentals: foundation models, tokens, and embeddings" and run it. In seconds you have five questions ready.
Take a moment to enjoy it. You just built and ran your first AI app. Now let us understand what is behind it.

4. Look at, and adjust, the hidden prompt

Click to edit the widget that generates the questions. Here is the interesting part: you will see there is a prompt behind it, and that the topic field flows into it through a reference (something like @Topic).
This is the heart of everything. The output widget is not magic. It is an instruction to a foundation model, with your topic placed inside it. Try rewriting that instruction. Ask, for example, for questions at a hard, certification exam level and watch the output change. That is prompt engineering, the same concept that carries weight in Domain 2 of the exam, except now you are doing it instead of reading about it.

5. Chain a second widget

Now for the key step. Add a new text widget and, in its prompt, reference the output of the first one (@Questions, or whatever it is named). Give it an instruction like:
Based on the questions above, write a 3 point summary of the concepts a student needs to master in order to answer them.
Run it again. Notice that now one widget feeds the other: topic, then questions, then study summary. This is called prompt chaining, and it is exactly how more serious AI apps are assembled behind the scenes.

6. Play with temperature

In the settings of the questions widget, look for the temperature parameter. Lower it close to 0 and run. Raise it close to 1 and run again.
Did you feel the difference? Low temperature makes the answers more predictable and precise, which is great for a factual quiz. High temperature makes them more varied and creative. This is an inference parameter, another item that shows up on the exam. And you did not memorize the definition. You watched it happen.

7. An important warning, and a very "responsible AI" one

Read the answers with a critical eye. Generative models sometimes hallucinate, meaning they invent a wrong answer with full confidence. Always check what your Quiz Buddy claims before treating it as truth. Recognizing this is also part of the exam (the Responsible AI domain), and a habit worth having for life.

8. Publish and share

Make the app public and generate the share link. You can also remix someone else's app, which means starting from theirs and adapting it. It is worth exploring the catalog to see what the community has already created.

The part that matters most: show what you built

Same theme as always, because it is still true. Do not keep your Quiz Buddy to yourself.
Publish the app, share the link in a post, write about the concept that finally clicked while you were adjusting the temperature. Teaching is the fastest way to find the holes in your own understanding. You only truly know what you can explain. As a bonus, you start building a portfolio and meeting people on the same journey.


Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article