This guide walks you through manually deploying the AWS AI Chatbot for Corrections using the AWS Management Console.
Before starting the manual deployment, ensure you have:
- AWS Account: An active AWS account with appropriate permissions
- AWS Identity Center: Set up and configured (see setup instructions below)
- Seed URLs: A list of websites you want to crawl and index
If you haven't already set up AWS Identity Center, follow these steps:
- Navigate to the AWS Identity Center setup guide
- Follow the instructions to enable and configure Identity Center
- Once configured, note your Instance ARN from the Details pane in the Settings page
For enhanced security, we strongly recommend enabling Multi-Factor Authentication (MFA):
- Navigate to AWS Identity Center
- Follow the official AWS documentation to enable MFA
- Configure MFA requirements for your users
This is a security best practice that adds an additional layer of protection to your application.
- Log in to your AWS Management Console
- Navigate to the region where you want to deploy (e.g., us-west-2)

- Click on the search bar at the top of your AWS console

- Type "Amazon Q Business"
- Click "Amazon Q Business" from the search results

- In the "Data source name" field, type "WebCrawlerDataSource"

- In the URL field, add your first website URL (e.g.,
https://example.com)
- Add additional seed URLs as needed
Example seed URLs:
https://example.com
https://example.org
- File Attachments: Check the box for "Crawl and index files attachments" to include PDF files and other documents that webpages link to
- Advanced Indexing: Under "Multi-media content configuration", check the box for "Visual content in documents"

Note: Advanced indexing is optional but recommended as it enables extraction and indexing of content from images, PDFs, and other multimedia files. Be aware that enabling this feature may incur additional costs for processing multimedia content.
Note: The initial sync may take some time depending on the volume of content on your websites. Monitor the progress in the console.
- Navigate back to your Amazon Q Business application

- In the "User access" pane, click "Manage user access"
- Click "Users", click "Add groups and users"
- Search for and select the users you want to add, and click "Assign"
- Assign subscription types to each user: Pro: Full access to all features, including document upload and custom plugins Lite: Basic access with limited features
- Click "Confirm" to confirm
Note: Newly created users will receive a welcome email with instructions to access the application.
- Click on the Amazon Q Business application in the left sidebar
- Go to the "Web experience settings" tab
- Click on the deployed URL to access your frontend application

Important: If you later change the Source URLs after deployment, you must also update the following settings:
- Navigate to your WebCrawlerDataSource
- Go to "Additional Configuration"
- Update the "Crawl URL Patterns" to match your new URLs
- Update the "URL Pattern to Index" to match your new URLs
This ensures that the crawler properly processes your updated URLs.
The web crawler uses inclusion and exclusion patterns to determine which URLs to crawl and index. By default, it will crawl and index all URLs that start with your seed URLs. You can customize these patterns in the "Additional Configuration" section:
- Inclusion URL Crawl Patterns: URLs matching these patterns will be crawled
- Exclusion URL Crawl Patterns: URLs matching these patterns will not be crawled
- Inclusion URL Index Patterns: URLs matching these patterns will be indexed
- Exclusion URL Index Patterns: URLs matching these patterns will not be indexed
After completing the deployment steps:
- Navigate to the Amazon Q Business console
- Select your application
- Go to the "Web experiences" tab
- Click on the web experience URL
- Sign in using your AWS Identity Center credentials
- Use the search bar to enter keywords related to your crawled content
- Review search results to verify proper indexing
- Click on results to view full content and source information
- Start a new conversation using the chat interface
- Ask questions related to your crawled content
- Verify that responses include proper citations to source content
- Test follow-up questions for contextual understanding
To manually remove the resources you created:
- Navigate to Amazon Q Business console
- Select your application
- Go to "Data sources" tab
- Select your WebCrawlerDataSource
- Click "Actions" -> "Delete"
- Confirm deletion
- In the Amazon Q Business console
- Select your application
- Click "Actions" -> "Delete"
- Confirm deletion
- Navigate to IAM console
- Go to "Roles"
- Search for roles created for your Q Business application
- Delete the roles if they're no longer needed
Note: Be careful when deleting IAM roles to ensure they're not used by other applications.
Common issues and solutions:
- Application not accessible: Verify AWS Identity Center is properly configured and users are added
- No search results: Check that the web crawler sync completed successfully and URLs are accessible
- Empty index: Verify seed URLs are correct and accessible, check crawl patterns match your URLs
- Permission errors: Ensure proper IAM roles are created and have necessary permissions
- Sync failures: Check that websites are publicly accessible and don't block crawlers
After successful deployment, consider exploring:
- Additional Data Sources: Connect S3 buckets, databases, or other data sources
- Authentication: Configure access to private websites or authenticated content
- Sync Scheduling: Set up automatic synchronization schedules
- Content Filtering: Implement guardrails and content filtering
- Access Controls: Fine-tune user permissions and data access
- Audit Logging: Enable comprehensive logging for compliance
- Encryption: Configure additional encryption options
- Index Tuning: Optimize indexing parameters for your content
- Cost Management: Monitor and optimize usage costs
- Query Performance: Tune search and retrieval performance
For detailed information on advanced features, refer to the official Amazon Q Business documentation.
This project is licensed under the MIT License - see the LICENSE file for details.














