Quick Start

更新时间:
复制 MD 格式

This document helps you get started with the product.

Step 1: Activate the service

You must activate Natural Language Processing (NLP) to purchase and use the product.

  1. Create an account: If you do not have an Alibaba Cloud account, click here to create one.

  2. Activate the service: The Enterprise Search product is currently in invitational preview. You must be added to a whitelist to access it.

Step 2: Get an AccessKey

An AccessKey is used for identity verification when you call Alibaba Cloud APIs.

For more information, see Create an AccessKey.

Important

Do not save your AccessKey and AccessKeySecret directly in your code. This practice creates a high risk of key leakage. The software development kit (SDK) examples show how to configure access credentials using environment variables. Use this method to store and retrieve your AccessKey and AccessKeySecret.

Step 3: Grant permissions to a RAM user

If you use a RAM user to access the service, you must grant the required permissions to the RAM user. Without the required permissions, the RAM user cannot access or use the product.

  1. Go to the Permissions > Policies page of the Resource Access Management (RAM) console and click Create Policyimage

  2. Enter the access policy in the script editor.

    imageimageThe policy script is as follows:

    {
      "Statement": [
        {
          "Action": "nlp:*",
          "Effect": "Allow",
          "Resource": "*"
        }
      ],
      "Version": "1"
    }
  3. Go to the Identities > Users page and add permissions to the desired RAM user.image.png

  4. Select the custom policy that you created to grant the permissions.

Step 4: Configure and call the service

For console operations, see User Guide.

For API development, see Development Reference.

For pricing details, see Billing for the Qianxun Search Algorithm product.