Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex DataSphere
  • Getting started
    • All guides
      • Creating a community
      • Adding a user to a community
      • Managing community labels
      • Managing community restrictions
      • Creating a service agent
      • Adding a link for a community
      • Linking a billing account
      • Viewing a cost breakdown report
      • Deleting a community
      • Removing a user from a community
    • Migrating a workflow to a new version
  • Terraform reference
  • Audit Trails events
  • Access management
  • Pricing policy
  • Public materials
  • Release notes
  1. Step-by-step guides
  2. Community management
  3. Creating a service agent

Creating a service agent

Written by
Yandex Cloud
Updated at June 15, 2026
View in Markdown

With a service agent, you will be able to work with other services, e.g., refresh your authorization tokens for DataSphere notebooks.

A service agent is a special service account under which DataSphere projects will perform actions in other Yandex Cloud services. Once enabled in a community, a service agent will be available across all the projects in that community.

You can also manage a service agent from DataSphere Jobs.

Note

To enable a service agent in a DataSphere community, you need the datasphere.communities.editor role or higher.

You need the admin or owner role for the cloud to manage service access to resources.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

  1. To allow a service agent to operate in DataSphere, ask your cloud admin or owner to run the following command in the Yandex Cloud CLI:

    yc iam service-control enable datasphere --cloud-id <cloud_ID>
    

    Where --cloud-id is the ID of the cloud you are going to use in the DataSphere community.

  2. Create a service account and assign to it the roles required to use the selected service. For more information about the required roles, see Access management for the service in question.

    To send requests to nodes from a notebook, assign the datasphere.user role to the service account.

  3. Open the DataSphere home page. In the left-hand panel, select Communities.

  4. Select the community for which you want to create a service agent.

  5. Go to the Settings tab.

  6. Under Service agent, click Add service account.

  7. In the window that opens, select the service account and click Add.

Note

To manage a community via the API, add the service account to the community member list. To send requests to a node from a notebook or access a project via the API, add the service account to the community and project member lists.

Was the article helpful?

Previous
Managing community restrictions
Next
Adding a link for a community
© 2026 Direct Cursus Technology L.L.C.