Programmatically create taxonomy term
You'll want to use taxonomy_save_term. The array you pass in to taxonomy_save_term should look like this.

$term = array(
 'name' =&gt; 'Taxonomy Term 1',
 'vid' =&gt; 1, // The VID of the vocabulary this term should be saved under
 'description' =&gt; 'A description of this term', // Not required
 'weight' =&gt; 5, // Not required
);
taxonomy_save_term($term);