The plugin can be installed either through the Plugin Store or through Composer.
Open the control panel for your website. Navigate to Settings → Plugins and search for Embedded Assets. Click Install.
Run the following command in the root directory of your Craft project:
composer require spicyweb/craft-embedded-assets
Embedded Assets 5 requires Craft CMS 5.