Flask Bedrock Template Walkthrough

36 steps

A tour of the Flask Bedrock template your DevOpser app is built on.

  1. 1

    Navigate to your dev, staging or production application URL.

  2. 2

    Click “Sign Up

    Flask Bedrock Template Walkthrough, step 2
  3. 3

    Input your email, name and a secure password.

  4. 4

    If your email is already added an an admin user, you will see the email already exists in the database. Otherwise you will be sent a verification email - click the link to proceed with MFA setup.

    Flask Bedrock Template Walkthrough, step 4
  5. 5

    If you try to log in with an unverified user (including an admin user), you will be prompted to verify your email.

    Flask Bedrock Template Walkthrough, step 5
  6. 6

    Click “Need a new verification email?” to trigger a new email.

    Flask Bedrock Template Walkthrough, step 6
  7. 7

    Input your email address and click “Resend Verification Email

  8. 8

    After you have verified the email, you should be able to log in.

  9. 9

    Set up MFA - I use Microsoft Authenticator but you can use any compatible authenticator application.

    Flask Bedrock Template Walkthrough, step 9
  10. 10

    After you set up the authenticator and enter the code, click “Verify and Enable 2FA

    Flask Bedrock Template Walkthrough, step 10
  11. 11

    Save your backup codes.

    Flask Bedrock Template Walkthrough, step 11
  12. 12

    Click “Continue to Chat

    Flask Bedrock Template Walkthrough, step 12
  13. 13

    To chat with Bedrock (using Clause Sonnet 3.5 v2), type a message into the input box.

    Flask Bedrock Template Walkthrough, step 13
  14. 14

    The AI output should come out formatted in markdown.

    Flask Bedrock Template Walkthrough, step 14
  15. 15

    To save the chat to history, click “clear” or “new chat

    Flask Bedrock Template Walkthrough, step 15
  16. 16

    You will see saved chats in the side bar.

    Flask Bedrock Template Walkthrough, step 16
  17. 17

    For a temporary chat, you toggle this button.

    Flask Bedrock Template Walkthrough, step 17
  18. 18

    Even if you click “clear” or “new chat” the conversation wont be saved in history.

    Flask Bedrock Template Walkthrough, step 18
  19. 19

    To see the account view, click “Account

    Flask Bedrock Template Walkthrough, step 19
  20. 20

    The template comes with Security Settings pre-set up - the subscription management will be something you need to set up with your own payment provider per their documentation.

    Flask Bedrock Template Walkthrough, step 20
  21. 21

    To navigate to the Flask Admin panel, click “Admin

    Flask Bedrock Template Walkthrough, step 21
  22. 22

    The Admin panel is mocked up as an example but it is fully configurable to your application management needs.

  23. 23

    For example, click “User Management

  24. 24

    Click “Users

  25. 25

    You can see all your current users.

  26. 26

    You can add users. Click “Create

  27. 27

    Input the user's details

    Flask Bedrock Template Walkthrough, step 27
  28. 28

    You can click the “Email Verified” field to “True” if you want the user to skip verification step.

    Flask Bedrock Template Walkthrough, step 28
  29. 29

    Make sure you give the user a password.

    Flask Bedrock Template Walkthrough, step 29
  30. 30

    Click this button to save the user.

    Flask Bedrock Template Walkthrough, step 30
  31. 31

    You can see it completed successfully, and the user is now added to the database.

  32. 32

    Click “Subscriptions

  33. 33

    This is just a default schema for subscriptions - please check your payment provider's documentation to understand what is needed.

    Flask Bedrock Template Walkthrough, step 33
  34. 34

    To get back to the chat interface, click “Home

    Flask Bedrock Template Walkthrough, step 34
  35. 35

    Click “Return to Chat

  36. 36

    Click “Sign Out”.

    Flask Bedrock Template Walkthrough, step 36