The European Commission and the European Research Area (ERA) countries have published guidelines on the responsible use of generative artificial intelligence (AI) in research to support the European research community. Generative AI tools provide convenience and speed in producing text, images and code, researchers, however this could also pose issues which include plagiarism, revealing sensitive information or biases in the models. The guidelines offer recommendations to researchers and encourage users of these guidelines to adapt them to their specific contexts and situations. These guidelines also build on the EU AI policy and EU AI Act and complement other policy activities on the effect of AI in science. There are also a set of principles, which frame these guidelines, based on pre-existing relevant frameworks, such as the European Code of Conduct for Research Integrity and the work and guidelines on trustworthy AI.