How can I insert an API code into a section?

Any idea how to put an API code in a section?

When I open themes → Add section → I don’t find ‘MAP’.

Does anyone have an idea how to put an API code in a page?

@Leentje which api code would you like to insert in theme code?

API code of a Google maps

API code of a Google maps

Could you please share screenshot or code where you want to use?