Prerequisites
Before you begin, ensure you have:- A valid email address for account creation
- A web browser (Chrome, Firefox, Safari, or Edge)
- A PostgreSQL client (e.g.,
psql) for connecting to your environment
Step 1: Sign Up for Materialize Cloud
- Visit Materialize Cloud Console
- Click Sign Up to create a new account
- Complete the registration form:
- Enter your email address
- Create a secure password
- Provide your organization name
- Verify your email address by clicking the link sent to your inbox
Single Sign-On (SSO)
For enterprise customers, Materialize supports SSO integration with:- Okta
- Google Workspace
- Azure AD
- Custom SAML 2.0 providers
Step 2: Create Your First Environment
Once logged in to the Materialize Console:- Click Create Environment in the dashboard
- Configure your environment:
- Environment name: Choose a descriptive name (e.g., “production”, “staging”)
- Region: Select the geographic region closest to your data sources
- Version: Select the Materialize version (latest recommended)
- Click Create to provision your environment
Step 3: Connect to Your Environment
Get Connection Details
Once your environment is ready:- Navigate to your environment in the Console
- Click Connect to view connection details
- Note the following information:
- SQL endpoint:
<environment-id>.materialize.cloud:6875 - HTTP endpoint:
https://<environment-id>.materialize.cloud - Username: Your Materialize account email
- Password: Your account password or app-specific password
- SQL endpoint:
Connect Using psql
Use the standard PostgreSQL client to connect:<username>: Your Materialize account email<password>: Your account password (URL-encoded if it contains special characters)<environment-id>: Your environment’s unique identifier
Connect Using Application Code
Materialize works with any PostgreSQL-compatible driver.Step 4: Create Your First Cluster
Clusters provide the compute resources for running queries and maintaining materialized views.Cluster Sizing Guidelines
Choose a cluster size based on your workload:- 25cc-50cc: Development and testing
- 100cc-200cc: Small production workloads
- 400cc-800cc: Medium production workloads
- 1600cc+: Large-scale production workloads
Step 5: Create a Data Source
Connect Materialize to your data sources. Here’s an example using Kafka:- Kafka: Stream data from Apache Kafka
- PostgreSQL: CDC from PostgreSQL databases
- MySQL: CDC from MySQL databases
- S3: Batch data from Amazon S3
- Webhook: Real-time webhook ingestion
Step 6: Create a Materialized View
Create a materialized view that automatically maintains query results:Step 7: Monitor Your Environment
Use the Materialize Console to monitor your environment:- Overview Dashboard: View cluster status, resource usage, and query performance
- Metrics: Track CPU, memory, and disk usage over time
- Query History: Review executed queries and their performance
- Alerts: Configure alerts for resource thresholds and errors
Next Steps
Connect to Data Sources
Learn how to connect Materialize to your data sources
Create Materialized Views
Build real-time transformations with materialized views
Manage Clusters
Learn about cluster sizing, scaling, and management
Security Configuration
Configure authentication, encryption, and access control
Troubleshooting
Connection Issues
If you can’t connect to your environment:- Verify SSL/TLS is enabled (
sslmode=require) - Check that your credentials are correct
- Ensure your IP is not blocked by network policies
- Confirm the environment is running in the Console
Performance Issues
If queries are slow:- Check cluster resource utilization in the Console
- Consider increasing cluster size
- Review query execution plans using
EXPLAIN - Add indexes to improve query performance
Support
Need help? Materialize offers multiple support channels:- Documentation: Comprehensive guides at materialize.com/docs
- Community Slack: Join discussions with other users
- Support Portal: Submit tickets for technical assistance
- Email: [email protected]