diff --git a/doc/changelog.d/2241.documentation.md b/doc/changelog.d/2241.documentation.md
new file mode 100644
index 0000000000..3f64e825d0
--- /dev/null
+++ b/doc/changelog.d/2241.documentation.md
@@ -0,0 +1 @@
+Adding dynamic plots in documentation
\ No newline at end of file
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 13506bc8e4..c43b332a05 100755
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -10,6 +10,7 @@
 from ansys_sphinx_theme import ansys_favicon, get_version_match
 import numpy as np
 import pyvista
+from pyvista.plotting.utilities.sphinx_gallery import DynamicScraper
 from sphinx.application import Sphinx
 from sphinx.util import logging
 from sphinx_gallery.sorting import FileNameSortKey
@@ -89,6 +90,7 @@
 extensions = [
     "jupyter_sphinx",
     "numpydoc",
+    "pyvista.ext.viewer_directive",
     "sphinx.ext.autodoc",
     "sphinx.ext.autosummary",
     "sphinx.ext.coverage",
@@ -273,7 +275,7 @@
     "backreferences_dir": None,
     # Modules for which function level galleries are created.  In
     "doc_module": "ansys-mapdl-core",
-    "image_scrapers": ("pyvista", "matplotlib"),
+    "image_scrapers": (DynamicScraper(), "matplotlib"),
     "ignore_pattern": "flycheck*",
     "thumbnail_size": (350, 350),
     "remove_config_comments": True,