---
metadata:
  - name: generator
    content: Diplodoc Platform v5.63.0
alternate:
  - en/cookbook/introduction
  - en/datalens/cookbook/introduction.md
  - ru/cookbook/introduction
  - href: en/cookbook/introduction.md
    type: text/markdown
    title: Markdown version
csp:
  - script-src:
      - https://mc.yandex.ru
    img-src:
      - https://mc.yandex.ru
    connect-src:
      - https://mc.yandex.ru
      - wss://mc.yandex.ru
    child-src:
      - 'blob:'
      - https://mc.yandex.ru
    frame-src:
      - 'blob:'
      - https://mc.yandex.ru
    frame-ancestors:
      - 'blob:'
      - https://mc.yandex.ru
canonical: en/cookbook/introduction.html
title: Introduction to DataLens On-premises
description: >-
  In this article, you will learn what information is available in the DataLens
  On-premises administrator cookbook.
vcsPath: en/cookbook/introduction.md
---

# Introduction

{% note info %}

**DataLens On-premises** is a business analytics service that allows you to connect to various data sources, visualize data, create dashboards, and share your results.

{% endnote %}

After you study these materials, you will be able to deploy, configure, update, and support DataLens On-premises all by yourself.

## You will be able to {#skills}

* Figure out requirements for a VM or cluster to deploy a distribution.
* Install a distribution and build a fault-tolerant architecture.
* Configure the service and its functions.
* Configure log collection.
* Configure user authorization and grant required permissions to employees.
* Connect your data.
* Connect Yandex Maps and Editor.
* Perform database backup and recovery.

## To succeed in your study of the materials, you will need the following {#basic-requirements}

* Basic understanding of cloud computing.
* Understanding of k8s operation and app deployment.
* Knowledge of containerization principles.
* Experience with Linux, Bash commands, and the terminal.
* Optionally, experience with Helm charts.

## What's in the guides {#content}

1. **DataLens** architecture**
    * Purpose and main components.
    * Main features.
    * Opportunities for business users.
    * Internal structure.
1. **Preparing a distribution: VM and cluster requirements**
    * How to get access to a distribution.
    * Resources required for installation.
    * How to scale your configuration based on the number of users.
1. **Basic installation for a quick start and test environment**
    * How to install to a VM with built-in K3s.
    * Administrator access management: getting and resetting a password.
    * How to mirror Docker images for offline environments.
    * Distribution structure.
1. **Installation for production use**
    * Using the configuration file for system parameterization.
    * Deployment with an external PostgreSQL cluster.
    * Using custom instead of self-signed TLS certificates.
    * Guidelines for designing a fault-tolerant architecture.
    * Overview of distribution services and their network interactions.
1. **Enabling features, monitoring, and debugging**
    * How to enable and disable features via `values.yaml` and `init.sh`.
    * Overview of key features: export, file connectors, Editor, Usage Tracking.
    * Configuration specifics if using external ClickHouse® and S3.
    * Monitoring and log collection for debugging.
1. **Log collection**
    * Working with two log types: for application and for Usage Tracking.
    * Using log collection tools: for all services or one particular service.
    * How to collect cluster events for deployment troubleshooting.
    * Using advanced debugging tools: `k9s` and `get-debug-info`.
    * Setting up Usage Tracking with an external ClickHouse® database.
1. **Connecting data**
    * Creating a basic connection to a database.
    * Configuring and using file connections.
    * Working with connectors.
1. **Connecting specific features**
    * How to connect Yandex Maps.
    * How to use Editor to create visualizations.
1. **Migration and backup**
    * Two approaches: whole system backup vs. export/import of objects.
    * Backup and recovery of a PostgreSQL service database.
    * Why it is important to save `CONTROL_API_CRYPTO_KEY` during recovery.
    * Exporting and importing workbooks for content transfer.
    * Migration scenario: from Yandex DataLens to DataLens On-premises.
1. **Authorization**
    * Working with a two-level permission model: global roles and permissions for objects.
    * LDAP integration demoed using Active Directory.
    * Configuring integration via OpenID Connect (OIDC).
    * Automatic group synchronization.
1. **Common issues**
    * Issues you may encounter as a user of DataLens On-premises and how to fix them.
1. **Useful commands**
    * List of commands you will find helpful as a DataLens On-premises administrator.

## Order in which to study the materials {#order-study}

You can go through these guides in any order, depending on your skills and needs.

For example, you have already deployed the distribution and installed DataLens On-premises. Now your task at hand is to configure and optimize the system. In which case you might want to start with **Enabling features, monitoring, and debugging** which addresses these aspects.

If you have not installed the distribution yet and are just getting to know the materials, it is best to follow the suggested order.

## Time required to study the materials {#time-study}

The whole study will take about six hours.

Now that you have read the table of contents, you can start studying the articles.
