open your account’s Settings - Overview - copy your API key there
Copying Airtable API key
to get your Base ID, click on the help button near the top-right of your screen in the Airtable account. This will open a menu where you will see the "<> API documentation" option. After clicking the button, you will be brought to the API documentation page that will dynamically surface which base you are working in currently. Both the base name and Base ID will appear. Check out Airtable’s documentation for more details