06. Initialize Your System
此内容尚不支持你的语言。
At this point, the system is online. Now you need to make it usable.
0. Keep the Dev Console open during this step
Section titled “0. Keep the Dev Console open during this step”This is a good phase to keep the Dev Console available for reference.
It helps when you need to double-check:
- app keys
- service values
- environment files
- startup status
1. Log in to the admin first
Section titled “1. Log in to the admin first”Your first real operational step is logging into the admin interface.
If you forgot what values you entered
Section titled “If you forgot what values you entered”Check the environment variables and auth-related config first before assuming the system is broken.
Most “I cannot log in” problems at this stage are configuration mismatches, not deep code bugs.
If login keeps returning 401
Section titled “If login keeps returning 401”Treat that as a configuration problem first.
Check:
- auth service secrets
- frontend auth endpoint configuration
- production domain settings
- whether the frontend is still pointing at old or local addresses
2. Create a demo project first
Section titled “2. Create a demo project first”For the first pass, create one project with the default key.
Recommended first values
Section titled “Recommended first values”Start with something simple and predictable:
- use
demoas the firstapp_key - fill the minimum required project fields
- avoid customizing too many product-specific settings until the base flow works
This is the fastest path to a fully verified system.
3. If you need payments, continue with payment channels
Section titled “3. If you need payments, continue with payment channels”After the basic project exists, configure payment channels if your product needs them.
That typically includes:
- enabling providers
- filling product or price data
- confirming callback and webhook behavior
4. If you need AI, continue with model setup
Section titled “4. If you need AI, continue with model setup”If your product depends on AI features, this is the right time to configure:
- model providers
- API keys
- gateway settings
- model mappings
5. If you want the site to feel like a real product, fill these sections
Section titled “5. If you want the site to feel like a real product, fill these sections”Do not stop at infrastructure.
Use the admin to fill the parts that make the product look complete:
- site branding
- visible product copy
- pricing content
- support and contact information
- blog or content settings if needed
6. Check auxiliary modules such as check-in, support, and notifications
Section titled “6. Check auxiliary modules such as check-in, support, and notifications”After core setup, verify the helper modules too.
These modules are easy to ignore during first deploys, but they matter for real use:
- check-in
- support
- notifications
7. If you are ready to switch to your own app_key
Section titled “7. If you are ready to switch to your own app_key”Once the system is stable with demo, you can move to your real production app_key.
Do it carefully:
- create or update the project in admin
- switch the frontend environment variables
- redeploy the frontend
- verify the site is now reading the intended project data
8. Checklist before you leave this chapter
Section titled “8. Checklist before you leave this chapter”Before calling the initialization complete, confirm:
- you can log into the admin
- a
demoproject has been created successfully - payments are configured if needed
- AI is configured if needed
- site branding and core content are filled
- support, notifications, and other helper modules are behaving normally
- the real
app_keymigration plan is clear if you intend to switch away fromdemo