HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/awscli/examples/iotsitewise/create-portal.rst
**To create a portal**

The following ``create-portal`` example creates a web portal for a wind farm company. You can create portals only in the same Region where you enabled AWS Single Sign-On. ::

    aws iotsitewise create-portal \
        --portal-name WindFarmPortal \
        --portal-description "A portal that contains wind farm projects for Example Corp." \
        --portal-contact-email [email protected] \
        --role-arn arn:aws:iam::123456789012:role/service-role/MySiteWiseMonitorServiceRole

Output::

    {
        "portalId": "a1b2c3d4-5678-90ab-cdef-aaaaaEXAMPLE",
        "portalArn": "arn:aws:iotsitewise:us-west-2:123456789012:portal/a1b2c3d4-5678-90ab-cdef-aaaaaEXAMPLE",
        "portalStartUrl": "https://a1b2c3d4-5678-90ab-cdef-aaaaaEXAMPLE.app.iotsitewise.aws",
        "portalStatus": {
            "state": "CREATING"
        },
        "ssoApplicationId": "ins-a1b2c3d4-EXAMPLE"
    }

For more information, see `Getting started with AWS IoT SiteWise Monitor <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/monitor-getting-started.html>`__ in the *AWS IoT SiteWise User Guide* and `Enabling AWS SSO <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/monitor-getting-started.html#monitor-enable-sso>`__ in the *AWS IoT SiteWise User Guide*..