How to access Amazon Bedrock on your iPhone with iOS Shortcut

Olalekan Elesin
2 min readOct 3, 2023

--

This post was inspired by How to use ChatGPT on your Apple Watch and iPhone. However, we use Anthropic Claude V2 on Amazon Bedrock instead of ChatGPT. In the rest of the article, you will learn how to set up an iOS Shortcut for using Amazon Bedrock on your iPhone.

This is made up of the following steps:

  1. Access Amazon Bedrock using boto3 SDK.
  2. Create and deploy a REST API with FastAPI on AWS AppRunner.
  3. Create Amazon Bedrock Shortcut on iOS

After following these steps, you can use Amazon Bedrock from your iOS devices via the Shortcuts app.

1. Access Amazon Bedrock using boto3 SDK.

2. Deploy a REST API with FastAPI on AWS AppRunner.

We use a bash script and AWS Cloudformation templates to deploy the container application on AWS AppRunner

3. Create Amazon Bedrock Shortcut on iOS

This was my first time creating an iOS shortcut and was able to make it work in less than 15 minutes following the example in the post How to use ChatGPT on your Apple Watch and iPhone.

That’s it — now you’re ready to use Amazon Bedrock as conveniently as possible from your iPhone or Apple Watch.

You can also download the Shortcut via this link; you will need the API key before using it. Reach me through email if you need an API key to access Amazon Bedrock on your iPhone!

Conclusion

In this blog post, we show how to access Amazon Bedrock on your iPhone (or Apple Watch) with iOS shortcut. You can download the Shortcut via this link and contact me via email if you need access to API key to give this a try.

You can reach me via email, follow me on Twitter or connect with me on LinkedIn.

Sign up to discover human stories that deepen your understanding of the world.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Olalekan Elesin
Olalekan Elesin

Written by Olalekan Elesin

Enterprise technologist with experience across technical leadership, architecture, cloud, machine learning, big-data and other cool stuff.

No responses yet

Write a response