--- title: Obtaining an API key from Gandi template: docs taxonomy: category: docs routes: default: '/providers/registrar/gandi/autodns' aliases: - '/registar_api_gandi' --- This page is meant to guide you in obtaining an API key from Gandi in order to configure YunoHost's automatic DNS configuration mecanism ! NB. : **DO NOT share your API tokens with anybody!** A malicious attacker obtaining your tokens could take over your domain, and possibly your server! 1. Go to [https://account.gandi.net/](https://account.gandi.net/) 2. You should land on this page. Then click on 'Security' ![](image://registrar_api_gandi_1.png?resize=800) 3. In the next page, click on '(re)Generate the API key'. ![](image://registrar_api_gandi_2.png?resize=800)