Only the Chinese version of this page is provided currently. The English version will be provided soon.

Environment-Related Issues

Last updated: 2025-02-12 11:50:49

How To Create a TCB Environment?

Can Multiple Resource Environments Be Created?

The resource environment is the resource collection you use during mini program development, including databases, Cloud File Storage, etc.
The resources of each environment are independent and isolated. You can create multiple environments based on your needs for development, testing, and production scenarios.
If you have multiple applications with different business data, you also need to create multiple environments.

Can Different Clients Use the Same Resource Environment?

Currently, environments created on the WeChat side support the development of Mini Program Platform and web. Environments created on the Tencent Cloud side only support web development in the Tencent Cloud console. If the environment is converted to a mini program environment, it can be used on the Mini Program Platform.
Note:
Environment conversion currently only supports converting from cloud environment to mini program environment.

Can a TCB Environment Created By WeChat Developer IDE Be Used In QQ Mini Program?

No. The TCB environment created by the WeChat Developer IDE is deeply associated with WeChat Mini Program and cannot be used in QQ Mini Program.

What Are the Differences Between Using Cloud Development In QQ Mini Program and WeChat Mini Program?

The use of Cloud Development in QQ Mini Program is largely the same as in WeChat Mini Program, but there are slight differences in the call methods (using Cloud Development in WeChat Mini Program, using Cloud Development in QQ Mini Program). WeChat Mini Program provides authentication-free calls for open APIs based on Cloud Development, while authentication-free calls for open APIs in QQ Mini Program are still in planning.

Can an Environment Created In the Tencent Cloud Development Console Be Used In QQ Mini Program?

Yes. As long as the developer has completed the binding between the QQ Mini Program account and the Tencent Cloud account, it can be used in QQ Mini Program.

How To Restore the Authorization Information Between QQ Mini Program and Tencent Cloud After Accidental Deletion?

Note:
To facilitate developers using cloud development in QQ Mini Program, we guide developers to bind QQ Mini Program account with Tencent Cloud account. During this process, an identity provider TcbSamlProvider_qq will be created in Tencent Cloud > Cloud Access Management > identity provider, and a role TcbSamlRole_qq will be created in Tencent Cloud > Cloud Access Management > Role. This information is required for using cloud development in QQ Mini Program, please do not delete it.
If you accidentally delete the authorization information, you can rebuild the association through restore accidental deletion information.

Can the Environments Of Web Cloud Development and Mini Program Cloud Development Be Used Interactively?

Web Cloud Development can use the environment of Mini Program Cloud Development. Conversely, it cannot.
Note:
The Tencent Cloud environment created on the web is not visible in the IDE, but you can use the environment conversion feature to convert the environment created on the web to Mini Program Cloud Development environment, making it visible in the IDE.

Can the Tencent Cloud Development Console Associate Multiple WeChat Mini Programs?

No. A Tencent Cloud account can only associate with one WeChat mini program.
Note:
If you log in to the Tencent Cloud Development Console using WeChat official account, you can see the mini program environment in the console.

How To Migrate a TCB Environment Across Accounts?

TCB environment does not support cross-account migration. You need to export the data from the environment, create a new environment, and import the data.