Build a R&R app with PartyRock and Bedrock!
Tags: aws, cloud, ai
Published: 2023-11-25 00:02:39

## TL;DR
You can easily build a Generative AI app with PartyRock!

## Intro to Bedrock and PartyRock
Are you a GenAI enthusiast? Do you want to learn it with AWS Bedrock? Yes you are, and you can easily build a generative AI app running on Bedrock. This is PartyRock.

## What is Amazon Bedrock?
Amazon Bedrock is generative AI platform provided by AWS as a full-managed-service. This is generally available since September 2023 and provides the capability to build Generative AI on AWS.
Here is an announcement from AWS.
[Amazon Bedrock Is Now Generally Available – Build and Scale Generative AI Applications with Foundation Models](https://aws.amazon.com/blogs/aws/amazon-bedrock-is-now-generally-available-build-and-scale-generative-ai-applications-with-foundation-models/)

## And What is PartyRock?
[PartyRock.aws](https://partyrock.aws/) is also provided by AWS. You can build a mini app, share with friends, experiment and learn all about prompt engineering. 
[Build AI apps with PartyRock and Amazon Bedrock](https://aws.amazon.com/blogs/aws/build-ai-apps-with-partyrock-and-amazon-bedrock/)

## Let's build a Rock'n Roll app with PartyRock

As you can see, both Bedrock and PartyRock include the phrase "ROCK". And I love Rock music. My duty is to build an app something relates to ROCK...

So I decided to build an app that recommends the rock music per your input. Let's start.

### Sign up
First, go on to [PartyRock.aws](https://partyrock.aws/). Click "Sign in" on your right-top.
![the top of PartyRock website](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j5a2gn3mwd8ohrl5gw16.png)

You can sign up PartyRock account with your social, Google, Apple or Amazon. No AWS account is required in case you just want to use PartyRock.
![You can sign up with your SNS account](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0q64k3xxhxzk69jf0b2g.png)

Signed up! And you can set up your username, gio information, and submit.
![Once you sign in, you can set up the username](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3t9tkos44936tvgifcmm.png)

### Build an app in seconds
After you succeeded to sign up, go back to the top, and then click "Build your own app". You can see the app builder. Fill the description with 2-3 sentences just like the screenshot. I would like to build a recommendation app so I typed "Rock Recommendation App recommends users the rock music with YouTube link". 
ARE YOU READY? Then click "Generate app".
![Back to the top, click "Build your own app" then the app builder opens. Fill the description of your app and click "Generate app".](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0k4caefkufk9dflhrqsg.png)

After a while, not so long! it was just a minute later, you will see your app!! Input your favor in Input field and the app recommends you a couple of rock music.

Enjoy your app!!
![Input your favor in Input field, then the app recommends the rock music](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gbbouzounaeqgh7v8e1e.png)

### Play the app
Now you can see your app, let's play!!

I made a prompt like this,
```
Could you please recommend a couple of metal music? I am so busy recently due to both my business and private, and feel a bit got tired. I would like to listen to metal that cheers me up. 

# Condition
- Verify YouTube link is correct, validated and the streaming is available
- The more up beat, the more I can cheer me up!
```

And here is the output from my app.
```
Here are a couple upbeat metal songs that may help lift your spirits:

Song: "Thunderstruck" by AC/DC Artist: AC/DC Link: https://www.youtube.com/watch?v=v2AC41dglnM

This classic hard rock song by AC/DC is pure fun and energy from start to finish. Brian Johnson's vocals and the guitars will have your head banging and stress melting away. AC/DC always knows how to lift your mood with their catchy, no nonsense rockers.

Song: "You Give Love a Bad Name" by Bon Jovi Artist: Bon Jovi Link: https://www.youtube.com/watch?v=KrZHPOeOxQQ

One of the most iconic arena rock anthems ever, "You Give Love a Bad Name" by Bon Jovi is guaranteed to get your blood pumping. From the opening riff to the singalong chorus, it's simply a blast to listen to. Jon Bon Jovi's charismatic performance and the band's signature sound make it the perfect high energy pick me up.

I chose upbeat, classic hard rock/metal songs from iconic bands that should provide an endorphin boost to help lift your spirits during your busy time. Let me know if you'd like any other recommendations!
```
Very good, they recommended 2 rock! 
Click the thumbnails, and you can go on to YouTube.

1. "Thunderstruck" by AC/DC
[!["Thunderstruck" by AC/DC](http://img.youtube.com/vi/v2AC41dglnM/0.jpg)](https://www.youtube.com/watch?v=v2AC41dglnM)

2. "You Give Love a Bad Name" by Bon Jovi
[!["You Give Love a Bad Name" by Bon Jovi](http://img.youtube.com/vi/KrZHPOeOxQQ/0.jpg)](https://www.youtube.com/watch?v=KrZHPOeOxQQ)

### Share your app with friends
Yes, you can share your own app with friends! Here is the procedure.

You can see "Make public and Share" on your right-top. Yes, you can just click there.
![You can see "Make public and Share" on your right-top. Yes, you can just click there.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8lqm5ws74dzo9re9a73v.png)

Your app is now public! Click "Copy link to clipboard, and share the link with friends.
![Now your app is public](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v6v2wx84droacf77b6sd.png)

## Where Rock Recommendation App?
Here you go!! Enjoy Rock Music!!
[Rock Recommender by Kosuke](https://partyrock.aws/u/coosuke/1j3npAFFN/Rock-Recommender)

I will publish another blog when I update the app...

Thank you very much for reading, here is my social account.
[LinkTree - coosuke](https://linktr.ee/coosuke)