Nowadays, a growing number of users are connected to the grid, generating complex scenarios to adequately manage all the resources and actors involved. Distributed Energy Resources (DER) based on renewable energies are playing a fundamental role in the process of digital transformation by defining a feasible solution in the production of Green Energies. Smart Grids (SG) enable obtaining a resilient and reactive Electrical Power Grid supported by the penetration of computer networking and digitalization technologies across the different domains. In this context, the manuscript proposes a SG-solution combining features provided by renewable electrical energy sources, such as distributed photovoltaics, wind power, and green-hydrogen generation, complemented by an associated information management built on the digitalization and Industry 4.0-based networking of the DER domain and its surrounding biodiversity. With the definition of this concrete use case within the context of the DER domain of a SG, applying Industry 4.0-compliant digitalization methods, tools, and technologies, and considering different reference architectures such as RAMI 4.0 and SGAM, the paper summarizes the results of (i) applying an Asset Administration Shell (AAS) based digitalization process and (ii) prototyping and implementing a digitalization solution with a Service-oriented Infrastructure.