Adds code-snippet for activation